bonding: only receive ARPs for us
authorJay Vosburgh <fubar@us.ibm.com>
Thu, 1 Mar 2007 01:03:27 +0000 (17:03 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 6 Mar 2007 11:08:11 +0000 (06:08 -0500)
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>
drivers/net/bonding/bond_main.c

index 68afcb5d7257b4fd90ec9cde9c8747e8cff52a8e..1ca73b8c139b5e5e4dfd4d57ff0a7e6f220b523e 100644 (file)
@@ -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);
 }