diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-01-20 11:08:46 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-21 16:00:47 -0800 |
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 51dba6192ba..97b050015f5 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) |