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>
This commit is contained in:
Jay Vosburgh 2007-02-28 17:03:27 -08:00 committed by Jeff Garzik
parent c4f283b1f2
commit e245cb71d4

View File

@ -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);
}