]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit317f4810e45eebe65d4f8897670df8b779de1467
treea4a57164c556d10ad468840aa2534ee3e4798553
parent1728d4fabd1bc9965728de25dda0b694b8da6450
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