commit | 2bf86b7aa8e74bf81a9872f7b610f49b610a4649 | [log] [tgz] |
---|---|---|
author | Jay Vosburgh <fubar@us.ibm.com> | Fri Mar 21 22:29:33 2008 -0700 |
committer | Jeff Garzik <jeff@garzik.org> | Tue Mar 25 23:15:38 2008 -0400 |
tree | 243fab364159920c950e393194c0ba8421a15d05 | |
parent | 26c080bf8308449330037f91daa3ac0a7c41023e [diff] |
bonding: Fix locking in 802.3ad mode The 802.3ad state machine lock can be acquired in both softirq and not softirq context, but was not held at _bh to prevent a deadlock (which could occur if a LACPDU arrived and was processed while the lock was held). Corrected this, now hold the state machine lock at _bh to prevent deadlock. Bug reported by Todd Fleisher <todd@fleish.org>. Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>