diff options
author | Eric Dumazet <edumazet@google.com> | 2013-03-06 23:20:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-07 16:33:10 -0500 |
commit | 7f0e44ac9f7f12a2519bfed9ea4df3c1471bd8bb (patch) | |
tree | 0e61610fbe1c25de0b9c8e7376c9151b60a5c605 /include/net/ipv6.h | |
parent | bf5e4dd6b26058d1a31864ea1a7002172023b147 (diff) |
ipv6 flowlabel: add __rcu annotations
Commit 18367681a10b (ipv6 flowlabel: Convert np->ipv6_fl_list to RCU.)
omitted proper __rcu annotations.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r-- | include/net/ipv6.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 64d12e77719a..988c9f28f0fc 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -217,7 +217,7 @@ struct ipv6_txoptions { | |||
217 | }; | 217 | }; |
218 | 218 | ||
219 | struct ip6_flowlabel { | 219 | struct ip6_flowlabel { |
220 | struct ip6_flowlabel *next; | 220 | struct ip6_flowlabel __rcu *next; |
221 | __be32 label; | 221 | __be32 label; |
222 | atomic_t users; | 222 | atomic_t users; |
223 | struct in6_addr dst; | 223 | struct in6_addr dst; |
@@ -238,9 +238,9 @@ struct ip6_flowlabel { | |||
238 | #define IPV6_FLOWLABEL_MASK cpu_to_be32(0x000FFFFF) | 238 | #define IPV6_FLOWLABEL_MASK cpu_to_be32(0x000FFFFF) |
239 | 239 | ||
240 | struct ipv6_fl_socklist { | 240 | struct ipv6_fl_socklist { |
241 | struct ipv6_fl_socklist *next; | 241 | struct ipv6_fl_socklist __rcu *next; |
242 | struct ip6_flowlabel *fl; | 242 | struct ip6_flowlabel *fl; |
243 | struct rcu_head rcu; | 243 | struct rcu_head rcu; |
244 | }; | 244 | }; |
245 | 245 | ||
246 | extern struct ip6_flowlabel *fl6_sock_lookup(struct sock *sk, __be32 label); | 246 | extern struct ip6_flowlabel *fl6_sock_lookup(struct sock *sk, __be32 label); |