net: tunnels should use rcu_dereference
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 30 Aug 2010 11:07:25 +0000 (11:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Sep 2010 17:57:53 +0000 (10:57 -0700)
commit875168a9330d3aa6481ce62ce8fa77c7be0c75fb
tree137a2d264cf960c8f6cc1a8961704cc1062014e7
parent064270132602c6e11482439e0e257f208cae79c0
net: tunnels should use rcu_dereference

tunnel4_handlers, tunnel64_handlers, tunnel6_handlers and
tunnel46_handlers are protected by RCU, but we dont use appropriate rcu
primitives to scan them. rcu_lock() is already held by caller.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tunnel4.c
net/ipv6/tunnel6.c