aboutsummaryrefslogtreecommitdiff
path: root/lib/devres.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-03-12 09:55:09 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-03-27 20:12:56 -0400
commit3b85875a252dbbd95c2e04d73639719a0a79634e (patch)
tree573142df787d9ccd52944695478546f543489504 /lib/devres.c
parent8f655dde240293f3b82313cae91c64ffd7b64c50 (diff)
nl80211: rework locking
When I added scanning to cfg80211, we got a lock dependency like this: rtnl --> cfg80211_mtx nl80211, on the other hand, has the reverse lock dependency: cfg80211_mtx --> rtnl which clearly is a bad idea. This patch reworks nl80211 to take these two locks in the other order to fix the possible, and easily triggerable, deadlock. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions