aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorJay Vosburgh <[email protected]>2008-01-17 16:25:02 -0800
committerJeff Garzik <[email protected]>2008-01-18 14:38:39 -0500
commit027ea0416c955778ceca7ef82e48a1dd6b4617c9 (patch)
treead823fb28b414d948fc372a08c8c15cee31bd8e1 /net/unix/sysctl_net_unix.c
parentece95f7fefe3afae19e641e1b3f5e64b00d5b948 (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 <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions