diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-12-02 13:19:08 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-02 22:10:24 -0800 |
commit | 91e2ff3528ac90b9dbcb04b76488e8ad74e3d3d9 (patch) | |
tree | 33b346ebaab318dab8beb1f433453ceae65bced1 /arch/m68k/fpsp040/sacos.S | |
parent | 650de8de16aa7c168c34d1b6a3191e4a5e2648c8 (diff) |
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>
Diffstat (limited to 'arch/m68k/fpsp040/sacos.S')
0 files changed, 0 insertions, 0 deletions