net/bonding: Delay sending of gratuitous ARP to avoid failure
authorMoni Shoua <monis@voltaire.com>
Wed, 10 Oct 2007 02:43:42 +0000 (19:43 -0700)
committerJeff Garzik <jeff@garzik.org>
Mon, 15 Oct 2007 18:20:46 +0000 (14:20 -0400)
commit1053f62c24faa6d4ee6f5bfddeca847b84f67a95
tree50ce488c64e9fccbfc9b85e6a523714828d063a6
parent3158bf7d414b69fdc0c715d0a4d82e12b74ef974
net/bonding: Delay sending of gratuitous ARP to avoid failure

Delay sending a gratuitous_arp when LINK_STATE_LINKWATCH_PENDING bit
in dev->state field is on. This improves the chances for the arp packet to
be transmitted.

Signed-off-by: Moni Shoua <monis at voltaire.com>
Acked-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bonding.h