summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorVeaceslav Falico <vfalico@redhat.com>2013-03-12 06:31:32 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-13 04:53:17 -0400
commit876254ae2758d50dcb08c7bd00caf6a806571178 (patch)
tree0c9b2e5e350d76db147a150befa57cc6908de882 /drivers/net/ethernet
parentd35162f89b8f00537d7b240b76d2d0e8b8d29aa0 (diff)
downloadtalos-obmc-linux-876254ae2758d50dcb08c7bd00caf6a806571178.tar.gz
talos-obmc-linux-876254ae2758d50dcb08c7bd00caf6a806571178.zip
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>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud