summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-10-27 08:06:49 +0100
committerDavid S. Miller <davem@davemloft.net>2009-10-28 10:22:08 +0100
commit63c8099d90096db56ee1c66c31f05d4fcfbc1c69 (patch)
tree1c0393ab776d49476858a4f97b3d60597330f370 /include
parentnet: add a list_head parameter to dellink() method (diff)
downloadlinux-63c8099d90096db56ee1c66c31f05d4fcfbc1c69.tar.xz
linux-63c8099d90096db56ee1c66c31f05d4fcfbc1c69.zip
vlan: Optimize multiple unregistration
Use unregister_netdevice_many() to speedup master device unregister. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/if_vlan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h
index 8898cbebcf34..71a4870c09a9 100644
--- a/include/linux/if_vlan.h
+++ b/include/linux/if_vlan.h
@@ -85,6 +85,7 @@ struct vlan_group {
* the vlan is attached to.
*/
unsigned int nr_vlans;
+ int killall;
struct hlist_node hlist; /* linked list */
struct net_device **vlan_devices_arrays[VLAN_GROUP_ARRAY_SPLIT_PARTS];
struct rcu_head rcu;