]> git.karo-electronics.de Git - linux-beck.git/commit
bonding: Don't allow bond devices to change network namespaces.
authorWeilong Chen <chenweilong@huawei.com>
Wed, 22 Jan 2014 09:16:30 +0000 (17:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jan 2014 05:57:17 +0000 (21:57 -0800)
commitf9399814927ad9bb995a6e109c2a5f9d8a848209
tree9a89a64b08711652ba91e8caeac619d8d308e92b
parenta9517d0f43832d787a4a0348163d659641bfd83c
bonding: Don't allow bond devices to change network namespaces.

Like bridge, bonding as netdevice doesn't cross netns boundaries.

Bonding ports and bonding itself live in same netns.

Signed-off-by: Weilong Chen <chenweilong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c