commit | 027ea0416c955778ceca7ef82e48a1dd6b4617c9 | [log] [tgz] |
---|---|---|
author | Jay Vosburgh <fubar@us.ibm.com> | Thu Jan 17 16:25:02 2008 -0800 |
committer | Jeff Garzik <jeff@garzik.org> | Fri Jan 18 14:38:39 2008 -0500 |
tree | ad823fb28b414d948fc372a08c8c15cee31bd8e1 | |
parent | ece95f7fefe3afae19e641e1b3f5e64b00d5b948 [diff] |
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>