linux/drivers/net
dingtianhong c851703544 bonding: remove unwanted lock for bond enslave and release
The bond_change_active_slave() and bond_select_active_slave()
do't need bond lock anymore, so remove the unwanted bond lock
for these two functions.

The bond_select_active_slave() will release and acquire
curr_slave_lock, so the curr_slave_lock need to protect
the function.

In bond enslave and bond release, the bond slave list is also
protected by RTNL, so bond lock is no need to exist, remove
the lock and clean the functions.

Suggested-by: Jay Vosburgh <fubar@us.ibm.com>
Suggested-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-12-14 01:58:02 -05:00
..
appletalk
arcnet
bonding bonding: remove unwanted lock for bond enslave and release 2013-12-14 01:58:02 -05:00
caif
can can: flexcan: use correct clock as base for bit rate calculation 2013-11-26 15:39:47 +01:00
cris
dsa
ethernet Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2013-12-14 01:11:22 -05:00
fddi net: fddi: remove unnecessary pci_set_drvdata() 2013-12-10 22:31:32 -05:00
hamradio drivers/net/*: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
hippi net: hippi: remove unnecessary pci_set_drvdata() 2013-12-10 22:31:32 -05:00
hyperv drivers/net/*: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
ieee802154 net: ieee802154: remove unnecessary spi_set_drvdata() 2013-12-10 22:31:32 -05:00
irda irda: vlsi_ir: remove unnecessary pci_set_drvdata() 2013-12-09 18:09:28 -05:00
phy net: phy: spi_ks8995: remove unnecessary spi_set_drvdata() 2013-12-10 22:31:32 -05:00
plip
ppp drivers/net/*: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
slip
team team: fix master carrier set when user linkup is enabled 2013-11-29 16:34:33 -05:00
usb usb: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
vmxnet3 net: vmxnet3: remove unnecessary pci_set_drvdata() 2013-12-10 22:31:32 -05:00
wan wan: wanxl: remove unnecessary pci_set_drvdata() 2013-12-09 18:09:29 -05:00
wimax
wireless Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-12-06 09:50:45 -05:00
xen-netback xen-netback: improve guest-receive-side flow control 2013-12-09 20:33:12 -05:00
dummy.c
eql.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macvlan.c macvlan: Remove custom recieve and forward handlers 2013-12-12 13:38:39 -05:00
macvtap.c macvlan: Remove custom recieve and forward handlers 2013-12-12 13:38:39 -05:00
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c Revert "tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()" 2013-12-10 22:05:45 -05:00
veth.c Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-11-14 16:30:30 +09:00
virtio_net.c virtio_net: spelling fixes 2013-12-10 22:28:06 -05:00
vxlan.c vxlan: leave multicast group when vxlan device down 2013-12-11 14:21:26 -05:00
xen-netfront.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-11-19 15:50:47 -08:00