]> 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)
commit2622d7e70945d0e43ba44e12ebaea795bcf716b4
tree09563123179d16ab4ba74812c741b72636268ca1
parent7dd25512eaf389adab64f9150111ecbf29476e9b
ipv4: fix lockdep splat in rt_cache_seq_show

After commit 8a9a402d1be0 (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