summaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorEric Dumazet2010-10-24 23:32:36 +0200
committerDavid S. Miller2010-10-25 22:09:44 +0200
commit3cc77ec74e1583b50b8405114cdbd6b8ebb8c474 (patch)
tree3f45e2ddfc224edd166b1cdc79ddff62532b4c7d /include/linux/netdevice.h
parentipv6: ip6_ptr rcu annotations (diff)
downloadkernel-qcow2-linux-3cc77ec74e1583b50b8405114cdbd6b8ebb8c474.tar.gz
kernel-qcow2-linux-3cc77ec74e1583b50b8405114cdbd6b8ebb8c474.tar.xz
kernel-qcow2-linux-3cc77ec74e1583b50b8405114cdbd6b8ebb8c474.zip
net/802: add __rcu annotations
(struct net_device)->garp_port is rcu protected : (struct garp_port)->applicants 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/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 4722d4a9b58f..b72d5a460903 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1072,7 +1072,7 @@ struct net_device {
struct pcpu_dstats __percpu *dstats; /* dummy stats */
};
/* GARP */
- struct garp_port *garp_port;
+ struct garp_port __rcu *garp_port;
/* class/net/name entry */
struct device dev;