ipv4: fix lockdep splat in rt_cache_seq_show
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 29 Nov 2011 20:05:55 +0000 (20:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2011 22:24:14 +0000 (17:24 -0500)
commit218fa90f072e4aeff9003d57e390857f4f35513e
tree09563123179d16ab4ba74812c741b72636268ca1
parentf7e57044eeb1841847c24aa06766c8290c202583
ipv4: fix lockdep splat in rt_cache_seq_show

After commit f2c31e32b378 (fix NULL dereferences in check_peer_redir()),
dst_get_neighbour() should be guarded by rcu_read_lock() /
rcu_read_unlock() section.

Reported-by: Miles Lane <miles.lane@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c