bonding: use bond_for_each_slave() in bond_uninit()
authorVeaceslav Falico <vfalico@redhat.com>
Wed, 25 Sep 2013 07:20:15 +0000 (09:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Sep 2013 20:02:05 +0000 (16:02 -0400)
commit544a028e65a9dadc13c3d12fb009b4bcd5338a9f
tree251c816033b17a9b6a2e0c8fb9429e96d48b043f
parent9caff1e7b761c28018bf1858f6661439b4055f51
bonding: use bond_for_each_slave() in bond_uninit()

We're safe agains removal there, cause we use neighbours primitives.

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