summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bonding.h
diff options
context:
space:
mode:
authorMoni Shoua <monis@voltaire.com>2007-10-10 04:43:42 +0200
committerJeff Garzik <jeff@garzik.org>2007-10-15 20:20:46 +0200
commit1053f62c24faa6d4ee6f5bfddeca847b84f67a95 (patch)
tree50ce488c64e9fccbfc9b85e6a523714828d063a6 /drivers/net/bonding/bonding.h
parentnet/bonding: Handlle wrong assumptions that slave is always an Ethernet device (diff)
downloadlinux-1053f62c24faa6d4ee6f5bfddeca847b84f67a95.tar.xz
linux-1053f62c24faa6d4ee6f5bfddeca847b84f67a95.zip
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 '')
-rw-r--r--drivers/net/bonding/bonding.h1
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 {
struct timer_list arp_timer;
s8 kill_timers;
s8 do_set_mac_addr;
+ s8 send_grat_arp;
struct net_device_stats stats;
#ifdef CONFIG_PROC_FS
struct proc_dir_entry *proc_entry;