bond: Add support for multiple network namespaces

Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Eric W. Biederman
2009-10-29 14:18:26 +00:00
committed by David S. Miller
parent 88ead97710
commit ec87fd3b4e
6 changed files with 99 additions and 58 deletions

View File

@@ -2445,9 +2445,6 @@ int bond_3ad_lacpdu_recv(struct sk_buff *skb, struct net_device *dev, struct pac
struct slave *slave = NULL;
int ret = NET_RX_DROP;
if (dev_net(dev) != &init_net)
goto out;
if (!(dev->flags & IFF_MASTER))
goto out;