summaryrefslogtreecommitdiff
path: root/include/net/garp.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-10-24 21:32:36 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-25 13:09:44 -0700
commit3cc77ec74e1583b50b8405114cdbd6b8ebb8c474 (patch)
tree3f45e2ddfc224edd166b1cdc79ddff62532b4c7d /include/net/garp.h
parent198caeca3eb4c81bbdbeb34a870868002f89b3d2 (diff)
downloadlinux-3cc77ec74e1583b50b8405114cdbd6b8ebb8c474.tar.gz
linux-3cc77ec74e1583b50b8405114cdbd6b8ebb8c474.tar.xz
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/net/garp.h')
-rw-r--r--include/net/garp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/garp.h b/include/net/garp.h
index 825f172caba9..f4c295984c45 100644
--- a/include/net/garp.h
+++ b/include/net/garp.h
@@ -107,7 +107,7 @@ struct garp_applicant {
};
struct garp_port {
- struct garp_applicant *applicants[GARP_APPLICATION_MAX + 1];
+ struct garp_applicant __rcu *applicants[GARP_APPLICATION_MAX + 1];
};
extern int garp_register_application(struct garp_application *app);