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)
commit99301ba11cb72f68f4e43e5778106035bd6965c4
treeadc182f2cc00fa8c2619d12c3251788185c9f1d3
parentf9399814927ad9bb995a6e109c2a5f9d8a848209
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