[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7N9a+w-L91wyS5nRJOaJJz4B_b-31GhzzyjWyJodVTb3w@mail.gmail.com>
Date: Wed, 25 Feb 2015 21:07:06 -0800
From: Cong Wang <cwang@...pensource.com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Nicolas Dichtel <nicolas.dichtel@...nd.com>,
Eugene Yakubovich <eugene.yakubovich@...eos.com>,
netdev <netdev@...r.kernel.org>
Subject: Re: What are the intended semantics of IFLA_LINK_NETNSID?
On Wed, Feb 25, 2015 at 11:03 AM, Eric W. Biederman
<ebiederm@...ssion.com> wrote:
> I suspect the correct fix for rtnl_newlink is to just use
> IFLA_LINK_NETNSID in rtnl_link_get_net and have it be an alternative way
> of setting dest_net. But you may intend some different semantics that
> I don't understand.
>
Looking at the example provided in iproute2, link-netnsid
should refer the the netns, by the given ID, where the underlying
link is. The difference is that this ID is only unique in a given netns,
and refers to another peer netns.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists