From: Veaceslav Falico Date: Wed, 25 Sep 2013 07:20:17 +0000 (+0200) Subject: bonding: rework rlb_next_rx_slave() to use bond_for_each_slave() X-Git-Tag: v3.13-rc1~105^2~309^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6475ae4ceea2f430db1daabf6460a9f36bc97438;p=pandora-kernel.git bonding: rework rlb_next_rx_slave() to use bond_for_each_slave() Currently, we're using bond_for_each_slave_from(), which is really hard to implement under RCU and/or neighbour list. Remove it and use bond_for_each_slave() instead, taking care of the last used slave. Also, rename next_rx_slave to rx_slave and store the current (last) rx_slave. CC: Jay Vosburgh CC: Andy Gospodarek Signed-off-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed