]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: 3ad: use curr_slave_lock instead of bond->lock
authorNikolay Aleksandrov <nikolay@redhat.com>
Tue, 9 Sep 2014 21:16:58 +0000 (23:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Sep 2014 00:31:35 +0000 (17:31 -0700)
commit7584ab9c53628d031ae725941689591c96fbbbf2
tree60a9fb60ce94cd8b16212c5d45f0d69873f7c3bc
parentdeea608331748deb180a3bba7024871f8cbca5aa
bonding: 3ad: use curr_slave_lock instead of bond->lock

In 3ad mode the only syncing needed by bond->lock is for the wq
and the recv handler, so change them to use curr_slave_lock.
There're no locking dependencies here as 3ad doesn't use
curr_slave_lock at all.

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