• Jay Vosburgh's avatar
    bonding: Fix locking in 802.3ad mode · 2bf86b7a
    Jay Vosburgh authored
    	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: default avatarJay Vosburgh <fubar@us.ibm.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    2bf86b7a
bond_3ad.c 84.6 KB