OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 2.6.25 3/6] net: Make the netlink methods in rtnetlink handle multiple network namespaces
Re: [PATCH 2.6.25 3/6] net: Make the netlink methods in rtnetlink handle multiple network namespaces [message #23533 is a reply to message #23358] Tue, 20 November 2007 06:33 Go to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: "Denis V. Lunev" <den@openvz.org>
Date: Thu, 15 Nov 2007 18:58:36 +0300

> From: Eric W. Biederman <ebiederm@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@xmission.com>
> Signed-off-by: Denis V. Lunev <den@openz.org>

Applied, thanks.
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Previous Topic: [PATCH 2.6.25 2/6] net: Make rtnetlink infrastructure network namespace aware (v3)
Next Topic: [PATCH 2.6.25 4/6] net: Make AF_PACKET handle multiple network namespaces
Goto Forum:
  


Current Time: Tue Aug 26 06:56:40 GMT 2025

Total time taken to generate the page: 0.10142 seconds