diff options
| author | 2010-10-24 21:31:58 +0000 | |
|---|---|---|
| committer | 2010-10-25 13:09:43 -0700 | |
| commit | b616b09afabf6d569aa31176aa86f05d2586de3e (patch) | |
| tree | 9765278f9825a612c27fea34aba0c614594b88c5 /include/linux/netdevice.h | |
| parent | tms380tr: Use mdelay() in tms380tr_wait(). (diff) | |
| download | linux-dev-b616b09afabf6d569aa31176aa86f05d2586de3e.tar.xz linux-dev-b616b09afabf6d569aa31176aa86f05d2586de3e.zip | |
vlan: rcu annotations
(struct net_device)->vlgrp 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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index fcd3dda86322..ceefb441c236 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -944,7 +944,7 @@ struct net_device { /* Protocol specific pointers */ #if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE) - struct vlan_group *vlgrp; /* VLAN group */ + struct vlan_group __rcu *vlgrp; /* VLAN group */ #endif #ifdef CONFIG_NET_DSA void *dsa_ptr; /* dsa specific data */ |
