linux/drivers/net/bonding
Jiri Pirko ce501caf16 bonding: set primary param via sysfs
Primary module parameter passed to bonding is pernament. That means if you
release the primary slave and enslave it again, it becomes the primary slave
again. But if you set primary slave via sysfs, the primary slave is only set
once and it's not remembered in bond->params structure. Therefore the setting is
lost after releasing the primary slave. This simple one-liner fixes this.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-10-01 14:34:29 -07:00
..
Makefile bonding: send IPv6 neighbor advertisement on failover 2008-11-06 00:49:37 -05:00
bond_3ad.c trivial: fix typo "to to" in multiple files 2009-09-21 15:14:55 +02:00
bond_3ad.h Remove duplicate slow protocol define in bond_3ad.h 2009-05-09 13:15:49 -07:00
bond_alb.c bonding: use compare_ether_addr_64bits() in ALB 2009-09-01 17:40:26 -07:00
bond_alb.h Convert bonding timers to workqueues 2007-10-23 20:32:00 -04:00
bond_ipv6.c bonding: wipe out printk's 2009-08-13 16:43:32 -07:00
bond_main.c bonding: make ab_arp select active slaves as other modes 2009-09-16 17:04:58 -07:00
bond_sysfs.c bonding: set primary param via sysfs 2009-10-01 14:34:29 -07:00
bonding.h bonding: use compare_ether_addr_64bits() in ALB 2009-09-01 17:40:26 -07:00