aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bonding.h
diff options
context:
space:
mode:
authorMoni Shoua <monis@voltaire.com>2007-10-09 22:43:39 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-15 14:20:46 -0400
commit2ab82852a2706b47c257ac87675ab8b06bc214dd (patch)
treefa8174d8179d3b43f98aff04855f1bc241ba13e2 /drivers/net/bonding/bonding.h
parent872254dd6b1f80cb95ee9e2e22980888533fc293 (diff)
net/bonding: Enable bonding to enslave netdevices not supporting set_mac_address()
This patch allows for enslaving netdevices which do not support the set_mac_address() function. In that case the bond mac address is the one of the active slave, where remote peers are notified on the mac address (neighbour) change by Gratuitous ARP sent by bonding when fail-over occurs (this is already done by the bonding code). Signed-off-by: Moni Shoua <monis at voltaire.com> Signed-off-by: Or Gerlitz <ogerlitz 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index 2a6af7d23728..5011ba9e4661 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -185,6 +185,7 @@ struct bonding {
185 struct timer_list mii_timer; 185 struct timer_list mii_timer;
186 struct timer_list arp_timer; 186 struct timer_list arp_timer;
187 s8 kill_timers; 187 s8 kill_timers;
188 s8 do_set_mac_addr;
188 struct net_device_stats stats; 189 struct net_device_stats stats;
189#ifdef CONFIG_PROC_FS 190#ifdef CONFIG_PROC_FS
190 struct proc_dir_entry *proc_entry; 191 struct proc_dir_entry *proc_entry;