]> git.baikalelectronics.ru Git - kernel.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)
commitd33f0c873c1a6729a0a7f90912179236e5792ca4
tree61368a80488945395405365efd274e8a3fde4d59
parent039d0c0e2bb5a3f8e8628254e4c54dd7825282be
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