diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-01-20 12:08:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-22 01:00:47 +0100 |
commit | aec191aa2a04b082238156dc9690fff8ce95dd6b (patch) | |
tree | c854088cd3c8308a4f83d836ec94cf89d8d9fcd0 /drivers/net/tun.c | |
parent | tun: Fix races between tun_net_close and free_netdev. (diff) | |
download | linux-aec191aa2a04b082238156dc9690fff8ce95dd6b.tar.xz linux-aec191aa2a04b082238156dc9690fff8ce95dd6b.zip |
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) 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) |