summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJay Vosburgh <fubar@us.ibm.com>2007-03-01 02:03:27 +0100
committerJeff Garzik <jeff@garzik.org>2007-03-06 12:08:11 +0100
commite245cb71d490e5e516c0ca0688fad7de6c22943d (patch)
tree84ca48e4c6ba679b7810aded8147e1564e47c191 /drivers
parentbonding: fix double dev_add_pack (diff)
downloadlinux-e245cb71d490e5e516c0ca0688fad7de6c22943d.tar.xz
linux-e245cb71d490e5e516c0ca0688fad7de6c22943d.zip
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);
}