diff options
author | Moni Shoua <monis@voltaire.com> | 2007-10-09 22:43:42 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-15 14:20:46 -0400 |
commit | 1053f62c24faa6d4ee6f5bfddeca847b84f67a95 (patch) | |
tree | 50ce488c64e9fccbfc9b85e6a523714828d063a6 /drivers/net/bonding/bonding.h | |
parent | 3158bf7d414b69fdc0c715d0a4d82e12b74ef974 (diff) |
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>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r-- | drivers/net/bonding/bonding.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index ad9c632f88e4..e0e06a84b5b9 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h | |||
@@ -187,6 +187,7 @@ struct bonding { | |||
187 | struct timer_list arp_timer; | 187 | struct timer_list arp_timer; |
188 | s8 kill_timers; | 188 | s8 kill_timers; |
189 | s8 do_set_mac_addr; | 189 | s8 do_set_mac_addr; |
190 | s8 send_grat_arp; | ||
190 | struct net_device_stats stats; | 191 | struct net_device_stats stats; |
191 | #ifdef CONFIG_PROC_FS | 192 | #ifdef CONFIG_PROC_FS |
192 | struct proc_dir_entry *proc_entry; | 193 | struct proc_dir_entry *proc_entry; |