]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3204137e5a4573e221c60fb8ae5fe1a8f34df57
treeedf1c1429ea903e92f325535b9c72725f78f52ea
parent2d1b097011b33842672da5ceb024bbdb01778a97
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