summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJay Vosburgh <fubar@us.ibm.com>2007-03-01 04:03:27 +0300
committerJeff Garzik <jeff@garzik.org>2007-03-06 14:08:11 +0300
commite245cb71d490e5e516c0ca0688fad7de6c22943d (patch)
tree84ca48e4c6ba679b7810aded8147e1564e47c191 /drivers
parentc4f283b1f275e5528c13c119e5cfc80cdba55d00 (diff)
downloadlinux-e245cb71d490e5e516c0ca0688fad7de6c22943d.tar.xz
bonding: only receive ARPs for us
The ARP validation code only needs ARPs for the bonding device. Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/bonding/bond_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 68afcb5d7257..1ca73b8c139b 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -3427,7 +3427,7 @@ void bond_register_arp(struct bonding *bond)
return;
pt->type = htons(ETH_P_ARP);
- pt->dev = NULL; /*bond->dev;XXX*/
+ pt->dev = bond->dev;
pt->func = bond_arp_rcv;
dev_add_pack(pt);
}