]> git.karo-electronics.de Git - linux-beck.git/commit
mac80211: fix todo lock
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 1 Jul 2009 19:26:43 +0000 (21:26 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:01:48 +0000 (15:01 -0400)
commitd3cebbdcedf8d1519913f6e9bf88dbac7fbaa760
tree61368a80488945395405365efd274e8a3fde4d59
parentdf2b35b65b7142bac2c7add3a1dedde3a373aff3
mac80211: fix todo lock

The key todo lock can be taken from different locks
that require it to be _bh to avoid lock inversion
due to (soft)irqs.

This should fix the two problems reported by Bob and
Gabor:
http://mid.gmane.org/20090619113049.GB18956@hash.localnet
http://mid.gmane.org/4A3FA376.8020307@openwrt.org

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Bob Copeland <me@bobcopeland.com>
Cc: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/key.c