summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-12-02 13:19:08 +0000
committerDavid S. Miller <davem@davemloft.net>2009-12-02 22:10:24 -0800
commit91e2ff3528ac90b9dbcb04b76488e8ad74e3d3d9 (patch)
tree33b346ebaab318dab8beb1f433453ceae65bced1 /mm
parent650de8de16aa7c168c34d1b6a3191e4a5e2648c8 (diff)
downloadlinux-3.10-91e2ff3528ac90b9dbcb04b76488e8ad74e3d3d9.tar.gz
linux-3.10-91e2ff3528ac90b9dbcb04b76488e8ad74e3d3d9.tar.bz2
linux-3.10-91e2ff3528ac90b9dbcb04b76488e8ad74e3d3d9.zip
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 'mm')
0 files changed, 0 insertions, 0 deletions