]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite27c3c69ed0b1f666c3c01faa2bd28b7e888e649
tree09563123179d16ab4ba74812c741b72636268ca1
parent53f1a8992b2a5e74ee90c344ab6a322c53a655d8
ipv4: fix lockdep splat in rt_cache_seq_show

After commit f0bef1d2e6ca (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