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

David Miller
2011-08-25T00:55:42Z

From: Eric Dumazet <eric.dumazet@gmail.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@redhat.com>
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>

Applied and queued up for -stable, thanks!