From: Jay Vosburgh Date: Thu, 1 Mar 2007 01:03:27 +0000 (-0800) Subject: bonding: only receive ARPs for us X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e245cb71d490e5e516c0ca0688fad7de6c22943d;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git bonding: only receive ARPs for us The ARP validation code only needs ARPs for the bonding device. Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik --- 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) 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); }