android_kernel_xiaomi_sm8350/drivers/net/bonding
Jay Vosburgh 2bf86b7aa8 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>
2008-03-25 23:15:38 -04:00
..
bond_3ad.c bonding: Fix locking in 802.3ad mode 2008-03-25 23:15:38 -04:00
bond_3ad.h Convert bonding timers to workqueues 2007-10-23 20:32:00 -04:00
bond_alb.c bonding: fix locking during alb failover and slave removal 2008-01-18 14:38:38 -05:00
bond_alb.h Convert bonding timers to workqueues 2007-10-23 20:32:00 -04:00
bond_main.c bonding: do not acquire rtnl in ARP monitor 2008-02-03 04:28:33 -08:00
bond_sysfs.c bonding: fix lock ordering for rtnl and bonding_rwsem 2008-01-18 14:38:39 -05:00
bonding.h bonding: update version 2008-02-03 04:28:34 -08:00
Makefile