From: "Murat Sezgin" <msezgin@codeaurora.org>
To: <netdev@vger.kernel.org>
Subject: kernel panic in pppoe_release
Date: Thu, 3 Sep 2015 12:14:32 -0700 [thread overview]
Message-ID: <006f01d0e67c$c3d53f10$4b7fbd30$@codeaurora.org> (raw)
Hi all,
I have already sent this email to linux-ppp group, but I have not received
any response yet. So, I want to send it to this group as well, because it is
most likely a netdev issue in pppoe kernel driver.
I see the bug in the below email discussion on the kernel that we are
currently using (3.4.103) with our openwrt distribution.
https://www.mail-archive.com/netdev@vger.kernel.org/msg70367.html
I did some debug on this and I see that the ref count of the po->pppoe_dev
doesnt go to zero before releasing it with dev_put() and set its value to
NULL.
I also found the below patches from openwrt patch site for 3.18 and 4.0
kernels which can be applicable to our kernel.
https://dev.openwrt.org/changeset/45653
But as described in the netdev mail-archive link above, it doesnt solve
this issue completely and we still see the crash. I just wonder , if the
proposed patch by Denys Fedoryshchenko, which is below, fixes this issue
completely.
pppox_unbind_sock(sk);
+/* Signal the death of the socket. */
+sk->sk_state = PPPOX_DEAD;
Do you have a conclusion on this bug? Is it safe to get this patch along
with the other workqueue patches?
Regards,
Murat
next reply other threads:[~2015-09-03 19:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-03 19:14 Murat Sezgin [this message]
2015-09-15 18:49 ` kernel panic in pppoe_release Guillaume Nault
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='006f01d0e67c$c3d53f10$4b7fbd30$@codeaurora.org' \
--to=msezgin@codeaurora.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).