[Devel] Re: [PATCH 2.6.25 3/6] net: Make the netlink methods in rtnetlink handle multiple network namespaces

David Miller davem at davemloft.net
Mon Nov 19 22:33:47 PST 2007


From: "Denis V. Lunev" <den at openvz.org>
Date: Thu, 15 Nov 2007 18:58:36 +0300

> From: Eric W. Biederman <ebiederm at xmission.com>
> 
> After the previous prep work this just consists of removing checks
> limiting the code to work in the initial network namespace, and
> updating rtmsg_ifinfo so we can generate events for devices in
> something other then the initial network namespace.
> 
> Referring to network other network devices like the IFLA_LINK
> and IFLA_MASTER attributes do, gets interesting if those network
> devices happen to be in other network namespaces.  Currently
> ifindex numbers are allocated globally so I have taken the path
> of least resistance and not still report the information even
> though the devices they are talking about are invisible.
> 
> If applications start getting confused or when ifindex
> numbers become local to the network namespace we may need
> to do something different in the future.
> 
> Signed-off-by: Eric W. Biederman <ebiederm at xmission.com>
> Signed-off-by: Denis V. Lunev <den at openz.org>

Applied, thanks.
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list