diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-10-25 01:33:16 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-26 00:09:45 +0400 |
commit | 6f0bcf152582e7403155627a38e07bf3ef7f3cf5 (patch) | |
tree | 0dafb9ea61fa01bb8850ee2bcce97b98c23a7c8f /include/net/xfrm.h | |
parent | 3cc77ec74e1583b50b8405114cdbd6b8ebb8c474 (diff) | |
download | linux-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/xfrm.h')
-rw-r--r-- | include/net/xfrm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index f28d7c9b9f8d..ffcd47820a5b 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h @@ -1272,7 +1272,7 @@ struct xfrm6_tunnel { int (*handler)(struct sk_buff *skb); int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info); - struct xfrm6_tunnel *next; + struct xfrm6_tunnel __rcu *next; int priority; }; |