bonding: make bond_for_each_slave() use lower neighbour's private
authorVeaceslav Falico <vfalico@redhat.com>
Wed, 25 Sep 2013 07:20:14 +0000 (09:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Sep 2013 20:02:05 +0000 (16:02 -0400)
commit9caff1e7b761c28018bf1858f6661439b4055f51
treef68f67537234e09d2b7a033573de4649c92865af
parent81f23b13ac985e9a3cfb889c690695a8932e02c2
bonding: make bond_for_each_slave() use lower neighbour's private

It needs a list_head *iter, so add it wherever needed. Use both non-rcu and
rcu variants.

CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
CC: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_alb.c
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_procfs.c
drivers/net/bonding/bond_sysfs.c
drivers/net/bonding/bonding.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c