]> git.baikalelectronics.ru Git - kernel.git/commit
rtnl: allow to create device with IFLA_LINK_NETNSID set
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 15 Jan 2015 14:11:18 +0000 (15:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Jan 2015 19:32:03 +0000 (14:32 -0500)
commita6f62c7ff286ec1ebd29d902d3a4ae0721517343
treea4a57164c556d10ad468840aa2534ee3e4798553
parentbd0cda5b04aee61b69fdc8996aefe6c55eca0a2e
rtnl: allow to create device with IFLA_LINK_NETNSID set

This patch adds the ability to create a netdevice in a specified netns and
then move it into the final netns. In fact, it allows to have a symetry between
get and set rtnl messages.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c