Re: [PATCH net-next 1/5] bonding: convert to list API and replace bond's custom list
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2013-07-31 18:38:53
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2013-07-31 18:38:53
On Wed, 31 Jul 2013 17:12:29 +0200 Nikolay Aleksandrov [off-list ref] wrote:
- bond_for_each_slave(bond, tmp, i) + list_for_each_entry(tmp, &bond->slave_list, list)
It would be nice to keep the wrapper macro's bond_for_each_slave and introduce a bond_for_each_slave_rcu() for the cases where you are using RCU.