aboutsummaryrefslogtreecommitdiff
path: root/include/net/fib_rules.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-10-26 09:24:55 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-27 11:37:32 -0700
commit7a2b03c5175e9ddcc2a2d48ca86dea8a88b68383 (patch)
treeccc580891d9d17e2482e2f3db2b2c8cf80bdf773 /include/net/fib_rules.h
parentb33eab08445d86c3d0dec3111ce10df561328705 (diff)
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/fib_rules.h')
-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 106f3097d38..075f1e3a0fe 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;