From: Jay Vosburgh Date: Fri, 18 Jan 2008 00:25:02 +0000 (-0800) Subject: bonding: fix lock ordering for rtnl and bonding_rwsem X-Git-Tag: v2.6.24~41^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=027ea0416c955778ceca7ef82e48a1dd6b4617c9;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed