summaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-01-20 11:08:46 +0000
committerDavid S. Miller <davem@davemloft.net>2009-01-21 16:00:47 -0800
commitaec191aa2a04b082238156dc9690fff8ce95dd6b (patch)
treec854088cd3c8308a4f83d836ec94cf89d8d9fcd0 /drivers/net/tun.c
parentc70f182940f988448f3c12a209d18b1edc276e33 (diff)
downloadop-kernel-dev-aec191aa2a04b082238156dc9690fff8ce95dd6b.zip
op-kernel-dev-aec191aa2a04b082238156dc9690fff8ce95dd6b.tar.gz
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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 51dba61..97b05001 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -810,7 +810,6 @@ static void tun_setup(struct net_device *dev)
dev->ethtool_ops = &tun_ethtool_ops;
dev->destructor = free_netdev;
- dev->features |= NETIF_F_NETNS_LOCAL;
}
static int tun_set_iff(struct net *net, struct file *file, struct ifreq *ifr)
OpenPOWER on IntegriCloud