From: Veaceslav Falico Date: Mon, 27 Jan 2014 13:37:31 +0000 (+0100) Subject: bonding: RCUify bond_ab_arp_probe X-Git-Tag: v3.14-rc1~59^2~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98b90f26651f9d84cfbb0221c9a3d9863c5bea69;p=pandora-kernel.git bonding: RCUify bond_ab_arp_probe Currently bond_ab_arp_probe() is always called under rcu_read_lock(), however to work with curr_active_slave we're still holding the curr_slave_lock. To remove that curr_slave_lock - rcu_dereference the bond's curr_active_slave and use it further - so that we're sure the slave won't go away, and we don't care if it will change in the meanwhile. CC: Jay Vosburgh CC: Andy Gospodarek Signed-off-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed