bonding: Fix slave selection bug.
authorHillf Danton <dhillf@gmail.com>
Fri, 10 Dec 2010 18:54:11 +0000 (18:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Dec 2010 20:24:02 +0000 (12:24 -0800)
commitaf3e5bd5f650163c2e12297f572910a1af1b8236
tree378ed230dc95ca29058c772aaf38aee44e583f63
parent82cc4f5cb8be6dede34c32a814ab1470409e1840
bonding: Fix slave selection bug.

The returned slave is incorrect, if the net device under check is not
charged yet by the master.

Signed-off-by: Hillf Danton <dhillf@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bonding.h