diff options
author | Jay Vosburgh <fubar@us.ibm.com> | 2007-02-28 17:03:27 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-03-06 06:08:11 -0500 |
commit | e245cb71d490e5e516c0ca0688fad7de6c22943d (patch) | |
tree | 84ca48e4c6ba679b7810aded8147e1564e47c191 /drivers | |
parent | c4f283b1f275e5528c13c119e5cfc80cdba55d00 (diff) | |
download | kernel-crypto-e245cb71d490e5e516c0ca0688fad7de6c22943d.tar.gz kernel-crypto-e245cb71d490e5e516c0ca0688fad7de6c22943d.tar.xz kernel-crypto-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 68afcb5d725..1ca73b8c139 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); } |