diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-10-27 07:06:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-28 02:22:08 -0700 |
commit | 63c8099d90096db56ee1c66c31f05d4fcfbc1c69 (patch) | |
tree | 1c0393ab776d49476858a4f97b3d60597330f370 /net/core | |
parent | 23289a37e2b127dfc4de1313fba15bb4c9f0cd5b (diff) | |
download | linux-3.10-63c8099d90096db56ee1c66c31f05d4fcfbc1c69.tar.gz linux-3.10-63c8099d90096db56ee1c66c31f05d4fcfbc1c69.tar.bz2 linux-3.10-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 'net/core')
-rw-r--r-- | net/core/dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 4513dfd5718..09551cc143a 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -5303,6 +5303,7 @@ void unregister_netdevice_many(struct list_head *head) net_set_todo(dev); } } +EXPORT_SYMBOL(unregister_netdevice_many); /** * unregister_netdev - remove device from the kernel |