Skip to content

Commit

Permalink
bonding: only receive ARPs for us
Browse files Browse the repository at this point in the history
	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>
  • Loading branch information
Jay Vosburgh authored and Jeff Garzik committed Mar 6, 2007
1 parent c4f283b commit e245cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/bonding/bond_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e245cb7

Please sign in to comment.