Re: [PATCH] bonding: in balance-rr mode, set curr_active_slave only if it is up

2012-11-26 Thread Jay Vosburgh
Michal Kubecek wrote: >If all slaves of a balance-rr bond with ARP monitor are enslaved >with down link state, bond keeps down state even after slaves >go up. > >This is caused by bond_enslave() setting curr_active_slave to >first slave not taking into account its link state. As

Re: [PATCH] bonding: in balance-rr mode, set curr_active_slave only if it is up

2012-11-26 Thread Jay Vosburgh
Michal Kubecek mkube...@suse.cz wrote: If all slaves of a balance-rr bond with ARP monitor are enslaved with down link state, bond keeps down state even after slaves go up. This is caused by bond_enslave() setting curr_active_slave to first slave not taking into account its link state. As

Re: [PATCH] bonding: in balance-rr mode, set curr_active_slave only if it is up

2012-11-25 Thread David Miller
From: Michal Kubecek Date: Thu, 22 Nov 2012 13:48:39 +0100 > If all slaves of a balance-rr bond with ARP monitor are enslaved > with down link state, bond keeps down state even after slaves > go up. > > This is caused by bond_enslave() setting curr_active_slave to > first slave not taking into

Re: [PATCH] bonding: in balance-rr mode, set curr_active_slave only if it is up

2012-11-25 Thread David Miller
From: Michal Kubecek mkube...@suse.cz Date: Thu, 22 Nov 2012 13:48:39 +0100 If all slaves of a balance-rr bond with ARP monitor are enslaved with down link state, bond keeps down state even after slaves go up. This is caused by bond_enslave() setting curr_active_slave to first slave not

[PATCH] bonding: in balance-rr mode, set curr_active_slave only if it is up

2012-11-22 Thread Michal Kubecek
If all slaves of a balance-rr bond with ARP monitor are enslaved with down link state, bond keeps down state even after slaves go up. This is caused by bond_enslave() setting curr_active_slave to first slave not taking into account its link state. As bond_loadbalance_arp_mon() uses

[PATCH] bonding: in balance-rr mode, set curr_active_slave only if it is up

2012-11-22 Thread Michal Kubecek
If all slaves of a balance-rr bond with ARP monitor are enslaved with down link state, bond keeps down state even after slaves go up. This is caused by bond_enslave() setting curr_active_slave to first slave not taking into account its link state. As bond_loadbalance_arp_mon() uses