]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: cleanup unneeded rcu_read_lock()
authorVeaceslav Falico <vfalico@redhat.com>
Tue, 26 Mar 2013 04:10:02 +0000 (04:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Mar 2013 16:49:40 +0000 (12:49 -0400)
commit51e08a31e7e637c6cab9e165124ad8fad34e4a51
tree71d37f47c97109f0767b5d80c33d1a8dcd8ff3a5
parent89d5a5338acaaffe6e42e760c4abaad6e03f5b57
bonding: cleanup unneeded rcu_read_lock()

bond_resend_igmp_join_requests_delayed() calls _resend_igmp_join_requests()
under rcu_read_lock(), while it gets its own rcu_read_lock() for the whole
function. Remove the lock from the _delayed function.

Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c