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>
This commit is contained in:
Eric Dumazet
2009-10-27 07:06:49 +00:00
committed by David S. Miller
parent 23289a37e2
commit 63c8099d90
3 changed files with 35 additions and 16 deletions

View File

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