summaryrefslogtreecommitdiffstats
path: root/net/nonet.c
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2008-07-21 21:18:20 -0300
committerJohn W. Linville <linville@tuxdriver.com>2008-07-29 16:36:35 -0400
commit064af1117b4aa64a0e52f6b741df7356ef055142 (patch)
tree262651d81f5d390467ee80bca96e403f86bacee3 /net/nonet.c
parentf1b23361a0f15497d4c6795a2935b2e98064ddfb (diff)
downloadlinux-064af1117b4aa64a0e52f6b741df7356ef055142.tar.gz
linux-064af1117b4aa64a0e52f6b741df7356ef055142.tar.bz2
linux-064af1117b4aa64a0e52f6b741df7356ef055142.zip
rfkill: mutex fixes
There are two mutexes in rfkill: rfkill->mutex, which protects some of the fields of a rfkill struct, and is also used for callback serialization. rfkill_mutex, which protects the global state, the list of registered rfkill structs and rfkill->claim. Make sure to use the correct mutex, and to not miss locking rfkill->mutex even when we already took rfkill_mutex. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/nonet.c')
0 files changed, 0 insertions, 0 deletions