bonding: Ignore updelay if there is no active slave.
authorJesse Gross <jesse@nicira.com>
Wed, 4 Nov 2009 21:48:41 +0000 (13:48 -0800)
committerJesse Gross <jesse@nicira.com>
Mon, 9 Nov 2009 22:32:29 +0000 (14:32 -0800)
commit8b2a2f4a793ec5ba735510c315a9d619439ac83c
tree7be991dbb66f6d7e1c7410e775df1a03fa00160a
parent2886875a385df582354ac916431b278f2fe698e0
bonding: Ignore updelay if there is no active slave.

If all slaves on a bond are down but some are waiting for an updelay,
enable the slave with the shortest amount of delay remaining.  This
would already occur if all other slaves were disabled at the time the
delay was to begin but not if a delay was already in progress.  This
also immediately sends learning packets out in both situations, which
prevents incoming packets to disabled slaves from being blackholed.

CC: Danny Wannagat <Danny.Wannagat@eu.citrix.com>
vswitchd/bridge.c