Thread (4 messages) 4 messages, 3 authors, 2011-08-25

Re: (3.1.0-rc2-git7) include/linux/inetdevice.h:209 invoked rcu_dereference_check() without protection!

flat view

From: David Miller <davem@davemloft.net>
Date: 2011-08-25 00:55:42

From: Eric Dumazet <redacted>
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 <redacted>
Signed-off-by: Eric Dumazet <redacted>
Applied and queued up for -stable, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help