diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-01-20 06:08:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-21 19:00:47 -0500 |
commit | aec191aa2a04b082238156dc9690fff8ce95dd6b (patch) | |
tree | c854088cd3c8308a4f83d836ec94cf89d8d9fcd0 /drivers/net/tun.c | |
parent | c70f182940f988448f3c12a209d18b1edc276e33 (diff) |
tun: There is no longer any need to deny changing network namespaces
With the awkward case between free_netdev and dev_chr_close fixed
there is no longer any need to limit tun and tap devices to the
network namespace they were created in. So remove the
NETIF_F_NETNS_LOCAL flag on the network device.
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r-- | drivers/net/tun.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 51dba6192bab..97b050015f5e 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c | |||
@@ -810,7 +810,6 @@ static void tun_setup(struct net_device *dev) | |||
810 | 810 | ||
811 | dev->ethtool_ops = &tun_ethtool_ops; | 811 | dev->ethtool_ops = &tun_ethtool_ops; |
812 | dev->destructor = free_netdev; | 812 | dev->destructor = free_netdev; |
813 | dev->features |= NETIF_F_NETNS_LOCAL; | ||
814 | } | 813 | } |
815 | 814 | ||
816 | static int tun_set_iff(struct net *net, struct file *file, struct ifreq *ifr) | 815 | static int tun_set_iff(struct net *net, struct file *file, struct ifreq *ifr) |