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)
commitf019a7a594d951f085eb3878c3d825556d447efe
tree9abbe6c51ef39a4b9ab3b06dbc71c415ca443b4e
parentaec191aa2a04b082238156dc9690fff8ce95dd6b
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