tunnels: add _rcu annotations
authorEric Dumazet <eric.dumazet@gmail.com>
Sun, 24 Oct 2010 21:33:16 +0000 (21:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2010 20:09:45 +0000 (13:09 -0700)
commit6f0bcf152582e7403155627a38e07bf3ef7f3cf5
tree0dafb9ea61fa01bb8850ee2bcce97b98c23a7c8f
parent3cc77ec74e1583b50b8405114cdbd6b8ebb8c474
tunnels: add _rcu annotations

(struct ip6_tnl)->next is rcu protected :
(struct ip_tunnel)->next is rcu protected :
(struct xfrm6_tunnel)->next is rcu protected :

add __rcu annotation and proper rcu primitives.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_tunnel.h
include/net/ipip.h
include/net/xfrm.h
net/ipv4/gre.c
net/ipv6/tunnel6.c