Commit e245cb71 authored by Jay Vosburgh's avatar Jay Vosburgh Committed by Jeff Garzik

bonding: only receive ARPs for us

	The ARP validation code only needs ARPs for the bonding device.
Signed-off-by: default avatarJay Vosburgh <fubar@us.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent c4f283b1
...@@ -3427,7 +3427,7 @@ void bond_register_arp(struct bonding *bond) ...@@ -3427,7 +3427,7 @@ void bond_register_arp(struct bonding *bond)
return; return;
pt->type = htons(ETH_P_ARP); pt->type = htons(ETH_P_ARP);
pt->dev = NULL; /*bond->dev;XXX*/ pt->dev = bond->dev;
pt->func = bond_arp_rcv; pt->func = bond_arp_rcv;
dev_add_pack(pt); dev_add_pack(pt);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment