]> git.baikalelectronics.ru Git - kernel.git/commit
team: Don't allow team devices to change network namespaces.
authorWeilong Chen <chenweilong@huawei.com>
Thu, 23 Jan 2014 03:07:22 +0000 (11:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jan 2014 05:57:17 +0000 (21:57 -0800)
commita98f082c7117cc44c61378cbbc73ab465ecc6371
treeadc182f2cc00fa8c2619d12c3251788185c9f1d3
parente8130164ad299e0f2218a79d1ee46d74482fc21e
team: Don't allow team devices to change network namespaces.

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

Team ports and team itself live in same netns.

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