]> git.baikalelectronics.ru Git - kernel.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)
commite8130164ad299e0f2218a79d1ee46d74482fc21e
tree9a89a64b08711652ba91e8caeac619d8d308e92b
parentb53f5246fbde5d9055f38eb681e0cdd84a0a38db
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