linux/drivers/net/bonding
Veaceslav Falico 876254ae27 bonding: don't call update_speed_duplex() under spinlocks
bond_update_speed_duplex() might sleep while calling underlying slave's
routines. Move it out of atomic context in bond_enslave() and remove it
from bond_miimon_commit() - it was introduced by commit 546add79, however
when the slave interfaces go up/change state it's their responsibility to
fire NETDEV_UP/NETDEV_CHANGE events so that bonding can properly update
their speed.

I've tested it on all combinations of ifup/ifdown, autoneg/speed/duplex
changes, remote-controlled and local, on (not) MII-based cards. All changes
are visible.

Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-13 04:53:17 -04:00
..
Makefile
bond_3ad.c bonding: Fix initialize after use for 3ad machine state spinlock 2013-02-19 00:51:08 -05:00
bond_3ad.h
bond_alb.c bonding: remove usage of dev->master 2013-01-04 13:31:50 -08:00
bond_alb.h
bond_debugfs.c
bond_main.c bonding: don't call update_speed_duplex() under spinlocks 2013-03-13 04:53:17 -04:00
bond_procfs.c
bond_sysfs.c bonding: unset primary slave via sysfs 2013-01-29 15:43:35 -05:00
bonding.h bond: have random dev address by default instead of zeroes 2013-01-30 15:34:00 -05:00