From: Jay Vosburgh Date: Thu, 1 Mar 2007 01:03:27 +0000 (-0800) Subject: bonding: only receive ARPs for us X-Git-Tag: v2.6.21-rc3~23^2~13 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e245cb71d490e5e516c0ca0688fad7de6c22943d;p=linux-2.6-omap-h63xx.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 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); }