From: Eric W. Biederman Date: Tue, 20 Jan 2009 11:08:46 +0000 (+0000) Subject: tun: There is no longer any need to deny changing network namespaces X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aec191aa2a04b082238156dc9690fff8ce95dd6b;p=mv-sheeva.git 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 Signed-off-by: David S. Miller --- 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)