diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-10-24 21:33:16 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-25 20:09:45 (GMT) |
commit | 6f0bcf152582e7403155627a38e07bf3ef7f3cf5 (patch) | |
tree | 0dafb9ea61fa01bb8850ee2bcce97b98c23a7c8f /include/net/ipip.h | |
parent | 3cc77ec74e1583b50b8405114cdbd6b8ebb8c474 (diff) | |
download | linux-fsl-qoriq-6f0bcf152582e7403155627a38e07bf3ef7f3cf5.tar.xz |
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>
Diffstat (limited to 'include/net/ipip.h')
-rw-r--r-- | include/net/ipip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ipip.h b/include/net/ipip.h index 58abbf9..0403fe4 100644 --- a/include/net/ipip.h +++ b/include/net/ipip.h @@ -16,7 +16,7 @@ struct ip_tunnel_6rd_parm { }; struct ip_tunnel { - struct ip_tunnel *next; + struct ip_tunnel __rcu *next; struct net_device *dev; int err_count; /* Number of arrived ICMP errors */ |