All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v2 net-next 0/2] Remove NETIF_F_NETNS_LOCAL from software devices.
@ 2013-01-07  7:19 Rami Rosen
  2013-01-07  7:19 ` [RFC PATCH v2 net-next 1/2] ppp: remove NETIF_F_NETNS_LOCAL from ppp device features Rami Rosen
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Rami Rosen @ 2013-01-07  7:19 UTC (permalink / raw)
  To: davem; +Cc: netdev, shemminger, ebiederm, Rami Rosen

When NETIF_F_NETNS_LOCAL feature is set in some network device,  
we do not allow this device to be moved from one network namespace 
to another (see dev_change_net_namespace()). Vlan device is not considered 
a local device and does not have the NETIF_F_NETNS_LOCAL feature. There is no 
reason that software devices like ppp and bridge will set the
NETIF_F_NETNS_LOCAL feature. This patchset removes NETIF_F_NETNS_LOCAL
from ppp and bridge devices.

* Changes from v1
	Do not remove NETIF_F_NETNS_LOCAL from vxlan devices. Moving vxlan device 
	to a different namesapce does not move the state of the UDP socket related 
	to this vxlan device (Following Stephen Hemminger comment).
	
Rami Rosen (2):
  [RFC PATCH v2 net-next 1/3] ppp: remove NETIF_F_NETNS_LOCAL from ppp
    device features.
  [RFC PATCH v2 net-next 2/3] bridge: remove NETIF_F_NETNS_LOCAL from
    bridge device features.

 drivers/net/ppp/ppp_generic.c | 1 -
 net/bridge/br_device.c        | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

-- 
1.7.11.7

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-07  9:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-07  7:19 [RFC PATCH v2 net-next 0/2] Remove NETIF_F_NETNS_LOCAL from software devices Rami Rosen
2013-01-07  7:19 ` [RFC PATCH v2 net-next 1/2] ppp: remove NETIF_F_NETNS_LOCAL from ppp device features Rami Rosen
2013-01-07  9:16   ` Eric W. Biederman
2013-01-07  7:19 ` [RFC PATCH v2 net-next 2/2] bridge: remove NETIF_F_NETNS_LOCAL from bridge " Rami Rosen
2013-01-07  9:20   ` Eric W. Biederman
2013-01-07  9:25 ` [RFC PATCH v2 net-next 0/2] Remove NETIF_F_NETNS_LOCAL from software devices Eric W. Biederman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.