linux_dsm_epyc7002/drivers/net/bonding
Jay Vosburgh 027ea0416c bonding: fix lock ordering for rtnl and bonding_rwsem
Fix the handling of rtnl and the bonding_rwsem to always be acquired
in a consistent order (rtnl, then bonding_rwsem).

The existing code sometimes acquired them in this order, and sometimes
in the opposite order, which opens a window for deadlock between ifenslave
and sysfs.

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-01-18 14:38:39 -05:00
..
bond_3ad.c Convert bonding timers to workqueues 2007-10-23 20:32:00 -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: fix lock ordering for rtnl and bonding_rwsem 2008-01-18 14:38:39 -05:00
bond_sysfs.c bonding: fix lock ordering for rtnl and bonding_rwsem 2008-01-18 14:38:39 -05:00
bonding.h bonding: Fix up parameter parsing 2008-01-18 14:38:38 -05:00
Makefile [PATCH] bonding: add sysfs functionality to bonding (large) 2005-11-13 14:48:21 -05:00