]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commitbdbc5f13036c13ba47dad5f99645556fc40381f0
tree60a9fb60ce94cd8b16212c5d45f0d69873f7c3bc
parent51752afa735ab28b6023fcf22ec63955107f8a65
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