]> git.baikalelectronics.ru Git - kernel.git/commit
tun: Implement ip link del tunXXX
authorEric W. Biederman <ebiederm@aristanetworks.com>
Thu, 22 Jan 2009 00:02:16 +0000 (16:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jan 2009 00:02:16 +0000 (16:02 -0800)
commit513e5af037bb774dcaaa9d7d4c56aff795a60444
tree9abbe6c51ef39a4b9ab3b06dbc71c415ca443b4e
parentbdda9f406d0c68797f581e3dffa6314dde63e8b6
tun: Implement ip link del tunXXX

This greatly simplifies testing to verify I have fixed the problems
with a tun device disappearing when the tun file descriptor is still
held open.

Further it allows removal network namespace operations for the tun
driver.  Reducing the network namespace handling in the driver to the
minimum.  i.e. When we are creating a tun device.

Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c