Re: [RFC PATCH net-next v2 0/5] netns: allow to identify peer netns
From: Andy Lutomirski
Date: Wed Sep 24 2014 - 13:06:27 EST
On Wed, Sep 24, 2014 at 2:31 AM, Nicolas Dichtel
> Le 23/09/2014 21:26, Andy Lutomirski a Ãcrit :
>> On Tue, Sep 23, 2014 at 6:20 AM, Nicolas Dichtel
>> <nicolas.dichtel@xxxxxxxxx> wrote:
>>> The goal of this serie is to be able to multicast netlink messages with
>>> attribute that identify a peer netns.
>>> This is needed by the userland to interpret some informations contained
>>> netlink messages (like IFLA_LINK value, but also some other attributes in
>>> of x-netns netdevice (see also
>>> http://thread.gmane.org/gmane.linux.network/315933/focus=316064 and
>>> Ids are stored in the parent user namespace. These ids are valid only
>>> this user namespace. The user can retrieve these ids via a new netlink
>>> but only if peer netns are in the same user namespace.
>> What about the parent / ancestors of the owning userns? Can processes
>> in those usernses see any form of netns id?
> With this serie no. I'm not sure if ancestors really needs to be able to
> get these ids. What is your opinion?
I might be missing some consideration here, but I would hope that ip
link would work correctly if I have a veth interface shared with a
netns that's in a child userns.
AMA Capital Management, LLC
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/