android_kernel_xiaomi_sm8350/net/8021q
Eric W. Biederman 91e2ff3528 net: Teach vlans to cleanup as a pernet subsystem
Take advantage of the fact that an explicit rtnl_kill_links is
unnecessary (and skipping it improves batching), as network namespace
exit calls dellink on all remaining virtual devices, and
rtnl_link_unregister calls dellink on all outstanding devices in that
network namespace.  To do this we need to leave the vlan proc
directories in place until after network device exit time, which is
done by using register_pernet_subsys instead of
register_pernet_device.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-12-02 22:10:24 -08:00
..
Kconfig
Makefile
vlan_core.c vlan: Precise RX stats accounting 2009-11-17 23:51:55 -08:00
vlan_dev.c vlan: support "loose binding" to the underlying network device 2009-11-26 16:00:36 -08:00
vlan_gvrp.c
vlan_netlink.c vlan: support "loose binding" to the underlying network device 2009-11-26 16:00:36 -08:00
vlan.c net: Teach vlans to cleanup as a pernet subsystem 2009-12-02 22:10:24 -08:00
vlan.h vlan: Precise RX stats accounting 2009-11-17 23:51:55 -08:00
vlanproc.c vlan: eliminate use of dev_base_lock 2009-11-10 22:26:30 -08:00
vlanproc.h