]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: add missing device list locking
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 9 Aug 2009 09:51:29 +0000 (11:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:13:54 +0000 (09:13 -0400)
commit21bbb12e69e4eab242333dbd96aea4b4dfc04532
treecba03d4b09fa82b8da3958080f3e7b7e1e4cb43a
parente4aab82518c4d053a676fe0a1059d1a4545809b0
cfg80211: add missing device list locking

When calling into the wext code from the NETDEV_UP
notifier, we need to hold the devlist_mtx mutex as
the wext code ends up calling into channel checks.

Reported-by: Kalle Valo <kalle.valo@iki.fi>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Tested-by: Kalle Valo <kalle.valo@iki.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/core.c