aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r--drivers/net/bonding/bond_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 5de648f90a45..e4e5fdc0430b 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -2458,6 +2458,9 @@ static int bond_arp_rcv(struct sk_buff *skb, struct net_device *dev, struct pack
2458 unsigned char *arp_ptr; 2458 unsigned char *arp_ptr;
2459 u32 sip, tip; 2459 u32 sip, tip;
2460 2460
2461 if (dev->nd_net != &init_net)
2462 goto out;
2463
2461 if (!(dev->priv_flags & IFF_BONDING) || !(dev->flags & IFF_MASTER)) 2464 if (!(dev->priv_flags & IFF_BONDING) || !(dev->flags & IFF_MASTER))
2462 goto out; 2465 goto out;
2463 2466