diff options
author | Jay Vosburgh | 2008-01-18 01:25:02 +0100 |
---|---|---|
committer | Jeff Garzik | 2008-01-18 20:38:39 +0100 |
commit | 027ea0416c955778ceca7ef82e48a1dd6b4617c9 (patch) | |
tree | ad823fb28b414d948fc372a08c8c15cee31bd8e1 /include/asm-powerpc/reg_booke.h | |
parent | bonding: Fix up parameter parsing (diff) | |
download | kernel-qcow2-linux-027ea0416c955778ceca7ef82e48a1dd6b4617c9.tar.gz kernel-qcow2-linux-027ea0416c955778ceca7ef82e48a1dd6b4617c9.tar.xz kernel-qcow2-linux-027ea0416c955778ceca7ef82e48a1dd6b4617c9.zip |
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>
Diffstat (limited to 'include/asm-powerpc/reg_booke.h')
0 files changed, 0 insertions, 0 deletions