From: David Miller <davem@davemloft.net>
To: nicolas.dichtel@6wind.com
Cc: netdev@vger.kernel.org, dmitry.tarnyagin@lockless.no,
arvid.brodin@alten.se, alex.aring@gmail.com,
linux-wpan@vger.kernel.org
Subject: Re: [PATCH net 0/2] netns: audit netdevice creation with IFLA_NET_NS_[PID|FD]
Date: Thu, 29 Jan 2015 14:20:41 -0800 (PST) [thread overview]
Message-ID: <20150129.142041.1936369659257898527.davem@davemloft.net> (raw)
In-Reply-To: <1422307694-10079-1-git-send-email-nicolas.dichtel@6wind.com>
From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Date: Mon, 26 Jan 2015 22:28:12 +0100
> When one of these attributes is set, the netdevice is created into the netns
> pointed by IFLA_NET_NS_[PID|FD] (see the call to rtnl_create_link() in
> rtnl_newlink()). Let's call this netns the dest_net. After this creation, if the
> newlink handler exists, it is called with a netns argument that points to the
> netns where the netlink message has been received (called src_net in the code)
> which is the link netns.
> Hence, with one of these attributes, it's possible to create a x-netns
> netdevice.
Series applied, thanks.
next prev parent reply other threads:[~2015-01-29 22:20 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-26 21:28 [PATCH net 0/2] netns: audit netdevice creation with IFLA_NET_NS_[PID|FD] Nicolas Dichtel
2015-01-26 21:28 ` [PATCH net 1/2] caif: remove wrong dev_net_set() call Nicolas Dichtel
2015-01-27 11:34 ` Nicolas Dichtel
2015-01-27 12:41 ` Bjørn Mork
2015-01-27 12:50 ` Nicolas Dichtel
2015-01-28 15:07 ` Nicolas Dichtel
2015-01-26 21:28 ` [PATCH net 2/2] vxlan: setup the right link netns in newlink hdlr Nicolas Dichtel
2015-01-27 9:34 ` [PATCH net 0/2] netns: audit netdevice creation with IFLA_NET_NS_[PID|FD] Alexander Aring
2015-01-27 10:32 ` Nicolas Dichtel
2015-01-27 12:23 ` Alexander Aring
2015-01-27 12:51 ` Alexander Aring
2015-01-27 13:28 ` Nicolas Dichtel
2015-01-27 14:06 ` Alexander Aring
2015-01-27 14:50 ` Nicolas Dichtel
2015-01-27 20:26 ` Alexander Aring
2015-01-28 9:37 ` Nicolas Dichtel
2015-01-29 22:20 ` David Miller [this message]
2015-01-30 20:00 ` Arvid Brodin
2015-02-02 15:58 ` Nicolas Dichtel
2015-02-04 20:33 ` Arvid Brodin
2015-02-05 14:34 ` Nicolas Dichtel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150129.142041.1936369659257898527.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=alex.aring@gmail.com \
--cc=arvid.brodin@alten.se \
--cc=dmitry.tarnyagin@lockless.no \
--cc=linux-wpan@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nicolas.dichtel@6wind.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).