bond: Choose slaves randomly.
authorEthan Jackson <ethan@nicira.com>
Sat, 2 Apr 2011 00:37:56 +0000 (17:37 -0700)
committerEthan Jackson <ethan@nicira.com>
Mon, 4 Apr 2011 19:32:22 +0000 (12:32 -0700)
commitc804cadfe92268da4658d3089ad8fb99c35121f3
tree52c80626000d84d50e2d72758ef40b710b67fa12
parentaacea8ba432bdffcca77696ba407be0c62661394
bond: Choose slaves randomly.

When the bonding library encounters a flow it hasn't seen before,
it assigns it to the active slave and waits for load balancing to
move it to a more appropriate place.  This commit causes it to
first attempt a random slave.
lib/bond.c