[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110824.175536.2182027080149098383.davem@davemloft.net>
Date: Wed, 24 Aug 2011 17:55:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: davej@...hat.com, netdev@...r.kernel.org
Subject: Re: (3.1.0-rc2-git7) include/linux/inetdevice.h:209 invoked
rcu_dereference_check() without protection!
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 23 Aug 2011 07:32:42 +0200
> [PATCH] arp: fix rcu lockdep splat in arp_process()
>
> Dave Jones reported a lockdep splat triggered by an arp_process() call
> from parp_redo().
>
> Commit faa9dcf793be (arp: RCU changes) is the origin of the bug, since
> it assumed arp_process() was called under rcu_read_lock(), which is not
> true in this particular path.
>
> Instead of adding rcu_read_lock() in parp_redo(), I chose to add it in
> neigh_proxy_process() to take care of IPv6 side too.
...
> Reported-by: Dave Jones <davej@...hat.com>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied and queued up for -stable, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists