diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-03-12 11:55:09 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-28 03:12:56 +0300 |
commit | 3b85875a252dbbd95c2e04d73639719a0a79634e (patch) | |
tree | 573142df787d9ccd52944695478546f543489504 /net/sched | |
parent | 8f655dde240293f3b82313cae91c64ffd7b64c50 (diff) | |
download | linux-3b85875a252dbbd95c2e04d73639719a0a79634e.tar.xz |
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 'net/sched')
0 files changed, 0 insertions, 0 deletions