]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/net/bonding/bond_options.c
bonding: options: remove bond->lock usage
authorNikolay Aleksandrov <nikolay@redhat.com>
Tue, 9 Sep 2014 21:17:02 +0000 (23:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Sep 2014 00:31:35 +0000 (17:31 -0700)
commit246df7b423aa61a8bd0b58404759a9abb4c15081
treea143752f926a2738ecbf9d9d2e5da79850930418
parente9fe8efeeae11f19bb6fafd6153ec77deaeb4b83
bonding: options: remove bond->lock usage

We're safe to remove the bond->lock use from the arp targets because
arp_rcv_probe no longer acquires bond->lock, only rcu_read_lock.
Also setting the primary slave is safe because noone uses the bond->lock
as a syncing mechanism for that anymore.

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