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:
committed by
David S. Miller
parent
198caeca3e
commit
3cc77ec74e
@ -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;
|
||||
|
Reference in New Issue
Block a user