bonding: drop read_lock in bond_compute_features
authornikolay@redhat.com <nikolay@redhat.com>
Mon, 2 Sep 2013 11:51:42 +0000 (13:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 04:27:25 +0000 (00:27 -0400)
commitc48268611a3df84a9250d2fc34ad671cdae43440
treeedf1c1429ea903e92f325535b9c72725f78f52ea
parent9b7b165ac1adf5169f0ee03d107423ce7f5805d9
bonding: drop read_lock in bond_compute_features

bond_compute_features is always called with RTNL held, so we can safely
drop the read bond->lock.

Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c