summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorVeaceslav Falico2013-09-25 09:20:17 +0200
committerDavid S. Miller2013-09-26 22:02:05 +0200
commit6475ae4ceea2f430db1daabf6460a9f36bc97438 (patch)
treed62241c4ded183e28bc77b25a22c921f7cf402be /drivers/net/bonding/bond_main.c
parentbonding: rework bond_3ad_xmit_xor() to use bond_for_each_slave() only (diff)
downloadkernel-qcow2-linux-6475ae4ceea2f430db1daabf6460a9f36bc97438.tar.gz
kernel-qcow2-linux-6475ae4ceea2f430db1daabf6460a9f36bc97438.tar.xz
kernel-qcow2-linux-6475ae4ceea2f430db1daabf6460a9f36bc97438.zip
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 <fubar@us.ibm.com> CC: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: Veaceslav Falico <vfalico@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
0 files changed, 0 insertions, 0 deletions