netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem with iflink in netns
@ 2014-05-13 15:39 Stephen Hemminger
  2014-05-13 18:20 ` Cong Wang
  2014-05-14  8:23 ` Nicolas Dichtel
  0 siblings, 2 replies; 18+ messages in thread
From: Stephen Hemminger @ 2014-05-13 15:39 UTC (permalink / raw)
  To: Eric W. Biederman; +Cc: netdev

There have been a couple of bugzilla reports already about cases where a macvlan
or vlan is moved into another namespace. In these cases the parent device ifindex (iflink)
is no longer valid.


Normally it is not a big issue, until another device is created using the ifindex
of the parent

Does anyone have a suggested fix? Marking iflink as 0 won't work then the devices no
longer appear as slaves. Another possibility would be to make block creation of device
where ifindex matches existing iflink of other devices; but this would slow down device
creation.
 

The bugs come in as ip command bugs, but obviously the issue is in the kernel.

https://bugzilla.kernel.org/show_bug.cgi?id=66691
https://bugzilla.kernel.org/show_bug.cgi?id=75911

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

end of thread, other threads:[~2014-07-15 14:32 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-13 15:39 Problem with iflink in netns Stephen Hemminger
2014-05-13 18:20 ` Cong Wang
2014-05-13 20:05   ` Stephen Hemminger
2014-05-13 20:44     ` Cong Wang
2014-05-14  0:51       ` Stephen Hemminger
2014-05-14 21:11         ` Cong Wang
2014-05-14  8:23 ` Nicolas Dichtel
2014-07-02 11:59   ` [RFC PATCH net-next 0/5] netns: allow to identify peer netns Nicolas Dichtel
2014-07-02 11:59     ` [RFC PATCH net-next 1/5] netns: allocate netns ids Nicolas Dichtel
2014-07-02 13:33       ` Sergei Shtylyov
2014-07-02 13:57         ` Nicolas Dichtel
2014-07-02 11:59     ` [RFC PATCH net-next 2/5] netns: add genl cmd to get the id of a netns Nicolas Dichtel
2014-07-02 11:59     ` [RFC PATCH net-next 3/5] rtnl: add link netns id to interface messages Nicolas Dichtel
2014-07-02 11:59     ` [RFC PATCH net-next 4/5] iptunnels: advertise link netns via netlink Nicolas Dichtel
2014-07-02 11:59     ` [RFC PATCH net-next 5/5] rtnl: allow to create device with IFLA_LINK_NETNSID set Nicolas Dichtel
2014-07-02 20:09     ` [RFC PATCH net-next 0/5] netns: allow to identify peer netns Eric W. Biederman
2014-07-02 21:47       ` Nicolas Dichtel
2014-07-15 14:32       ` Nicolas Dichtel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).