acrn-kernel/net/wireless
Johannes Berg 3b85875a25 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>
2009-03-27 20:12:56 -04:00
..
Kconfig cfg80211/nl80211: remove usage of CONFIG_NL80211 2009-03-27 20:12:42 -04:00
Makefile cfg80211/nl80211: remove usage of CONFIG_NL80211 2009-03-27 20:12:42 -04:00
core.c
core.h
lib80211.c
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
nl80211.c nl80211: rework locking 2009-03-27 20:12:56 -04:00
nl80211.h cfg80211/nl80211: remove usage of CONFIG_NL80211 2009-03-27 20:12:42 -04:00
radiotap.c
reg.c
reg.h
scan.c
sysfs.c
sysfs.h
util.c
wext-compat.c
wext.c