bonding: make ab_arp select active slaves as other modes
authorJiri Pirko <jpirko@redhat.com>
Mon, 31 Aug 2009 11:09:38 +0000 (11:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Sep 2009 00:04:58 +0000 (17:04 -0700)
commitb9f602533e2f5c32a09a3a75904e5373cb6e6377
treeacf8e035263114738931ffcd37fa312a8dd34a10
parentc127bdf9f6c8a8aaa531321721b29ab15f250a72
bonding: make ab_arp select active slaves as other modes

When I was implementing primary_passive option (formely named primary_lazy) I've
run into troubles with ab_arp. This is the only mode which is not using
bond_select_active_slave() function to select active slave and instead it
selects it itself. This seems to be not the right behaviour and it would be
better to do it in bond_select_active_slave() for all cases. This patch makes
this happen. Please review.

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>
drivers/net/bonding/bond_main.c