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>
This commit is contained in:
Eric Dumazet
2010-10-24 21:32:36 +00:00
committed by David S. Miller
parent 198caeca3e
commit 3cc77ec74e
4 changed files with 13 additions and 13 deletions

View File

@ -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;