summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-10-26 13:24:55 +0400
committerDavid S. Miller <davem@davemloft.net>2010-10-27 22:37:32 +0400
commit7a2b03c5175e9ddcc2a2d48ca86dea8a88b68383 (patch)
treeccc580891d9d17e2482e2f3db2b2c8cf80bdf773 /include/net
parentb33eab08445d86c3d0dec3111ce10df561328705 (diff)
downloadlinux-7a2b03c5175e9ddcc2a2d48ca86dea8a88b68383.tar.xz
fib_rules: __rcu annotates ctarget
Adds __rcu annotation to (struct fib_rule)->ctarget Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/fib_rules.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h
index 106f3097d384..075f1e3a0fed 100644
--- a/include/net/fib_rules.h
+++ b/include/net/fib_rules.h
@@ -20,7 +20,7 @@ struct fib_rule {
u32 table;
u8 action;
u32 target;
- struct fib_rule * ctarget;
+ struct fib_rule __rcu *ctarget;
char iifname[IFNAMSIZ];
char oifname[IFNAMSIZ];
struct rcu_head rcu;