aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Vosburgh <fubar@us.ibm.com>2007-02-28 20:03:27 -0500
committerJeff Garzik <jeff@garzik.org>2007-03-06 06:08:11 -0500
commite245cb71d490e5e516c0ca0688fad7de6c22943d (patch)
tree84ca48e4c6ba679b7810aded8147e1564e47c191
parentc4f283b1f275e5528c13c119e5cfc80cdba55d00 (diff)
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>
-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)
3427 return; 3427 return;
3428 3428
3429 pt->type = htons(ETH_P_ARP); 3429 pt->type = htons(ETH_P_ARP);
3430 pt->dev = NULL; /*bond->dev;XXX*/ 3430 pt->dev = bond->dev;
3431 pt->func = bond_arp_rcv; 3431 pt->func = bond_arp_rcv;
3432 dev_add_pack(pt); 3432 dev_add_pack(pt);
3433} 3433}