From: Thomas Graf <tgraf@suug.ch>
To: Stephen Warren <swarren@wwwdotorg.org>
Cc: Eric Dumazet <eric.dumazet@gmail.com>,
davem@davemloft.net, netdev@vger.kernel.org,
Fabio Estevam <festevam@gmail.com>
Subject: Re: [PATCH v2] ipv6: Don't depend on per socket memory for neighbour discovery messages
Date: Tue, 3 Sep 2013 19:23:48 +0100 [thread overview]
Message-ID: <20130903182348.GB4166@casper.infradead.org> (raw)
In-Reply-To: <52262462.80308@wwwdotorg.org>
On 09/03/13 at 12:03pm, Stephen Warren wrote:
> On 09/03/2013 11:51 AM, Eric Dumazet wrote:
> > On Tue, 2013-09-03 at 11:42 -0600, Stephen Warren wrote:
> >
> >> I don't see any extra messages from PROVE_LOCKING related to networking.
> >> There is a single extra message from inside the audio driver, but that's
> >> not networking-related at all.
> >
> > LOCKDEP is automatically disabled at first splat.
> >
> > Please try a kernel without audio driver ;)
>
> Ah, OK. Now I do see something from ipv6:
>
> > [ 25.327622]
> > [ 25.329142] =============================================
> > [ 25.334533] [ INFO: possible recursive locking detected ]
> > [ 25.339927] 3.11.0-rc7-next-20130830-00024-g209b4d8-dirty #17 Not tainted
> > [ 25.346705] ---------------------------------------------
> > [ 25.352095] login/704 is trying to acquire lock:
> > [ 25.356705] (&ndev->lock){++--..}, at: [<c049be24>] ipv6_chk_mcast_addr+0x5c/0x200
> > [ 25.364405]
> > [ 25.364405] but task is already holding lock:
> > [ 25.370230] (&ndev->lock){++--..}, at: [<c0480eb4>] addrconf_rs_timer+0x18/0x134
Real deadlock, we should not hold idev->lock for ndisc_send_rs(), we
should drop the lock beforehand I guess. We also don't hold idev->lock
if we send out the RS via addrconf_dad_completed().
I'm confused why lockdep would only trigger after my patch, the
deadlock is unrelated.
next prev parent reply other threads:[~2013-09-03 18:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-03 11:37 [PATCH v2] ipv6: Don't depend on per socket memory for neighbour discovery messages Thomas Graf
2013-09-03 11:56 ` Hannes Frederic Sowa
2013-09-03 12:11 ` Thomas Graf
2013-09-03 12:18 ` Fabio Estevam
2013-09-03 17:19 ` Stephen Warren
2013-09-03 17:27 ` Hannes Frederic Sowa
2013-09-03 17:42 ` Stephen Warren
2013-09-03 17:51 ` Eric Dumazet
2013-09-03 18:03 ` Stephen Warren
2013-09-03 18:23 ` Thomas Graf [this message]
2013-09-03 18:30 ` Hannes Frederic Sowa
2013-09-03 22:43 ` Hannes Frederic Sowa
2013-09-04 18:41 ` David Miller
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=20130903182348.GB4166@casper.infradead.org \
--to=tgraf@suug.ch \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=festevam@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=swarren@wwwdotorg.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