diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-10-24 21:32:05 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-25 13:09:43 -0700 |
commit | 198caeca3eb4c81bbdbeb34a870868002f89b3d2 (patch) | |
tree | ac2c01e12b71c3a88a8b2d6b86151b618878af1a /net/core | |
parent | b616b09afabf6d569aa31176aa86f05d2586de3e (diff) | |
download | op-kernel-dev-198caeca3eb4c81bbdbeb34a870868002f89b3d2.zip op-kernel-dev-198caeca3eb4c81bbdbeb34a870868002f89b3d2.tar.gz |
ipv6: ip6_ptr rcu annotations
(struct net_device)->ip6_ptr 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 'net/core')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 2c7da3a..365f7f5 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -5416,7 +5416,7 @@ void netdev_run_todo(void) /* paranoia */ BUG_ON(netdev_refcnt_read(dev)); WARN_ON(rcu_dereference_raw(dev->ip_ptr)); - WARN_ON(dev->ip6_ptr); + WARN_ON(rcu_dereference_raw(dev->ip6_ptr)); WARN_ON(dev->dn_ptr); if (dev->destructor) |