aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/loopback.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2008-11-05 15:59:38 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-05 15:59:38 -0800
commitd0c082cea6dfb9b674b4f6e1e84025662dbd24e8 (patch)
treea101a51c9158e4ed4ce335e6c68a555e631280f6 /drivers/net/loopback.c
parentnet: sk_free_datagram() should use sk_mem_reclaim_partial() (diff)
downloadlinux-dev-d0c082cea6dfb9b674b4f6e1e84025662dbd24e8.tar.xz
linux-dev-d0c082cea6dfb9b674b4f6e1e84025662dbd24e8.zip
netns: Delete virtual interfaces during namespace cleanup
When physical devices are inside of network namespace and that network namespace terminates we can not make them go away. We have to keep them and moving them to the initial network namespace is the best we can do. For virtual devices left in a network namespace that is exiting we have no need to preserve them and we now have the infrastructure that allows us to delete them. So delete virtual devices when we exit a network namespace. Keeping the necessary user space clean up after a network namespace exits much more tractable. Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com> Acked-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions