]> git.baikalelectronics.ru Git - kernel.git/commit
[IEEE80211]: Fix softmac lockdep reports.
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 4 Oct 2007 01:14:23 +0000 (18:14 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:22 +0000 (16:52 -0700)
commitdf373e0c27b69bb7e623062f7f7165680124bb1d
treef4bbdd316145573af7234960599e45592b73f8fe
parent1a325f087d74df2f89be90fbf9d9cf1bf37ad504
[IEEE80211]: Fix softmac lockdep reports.

It seems I was actually able to hit this deadlock, on my quad G5 softmac
locks up more often than not. This fixes it by using an own workqueue
that can safely be flushed under RTNL.

Not sure if the patch is correct with the workqueue naming. And don't
think with the patch it doesn't continually lock up. It still does, just
doesn't invoke lockdep warnings all the time.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ieee80211softmac.h
net/ieee80211/softmac/ieee80211softmac_assoc.c
net/ieee80211/softmac/ieee80211softmac_auth.c
net/ieee80211/softmac/ieee80211softmac_event.c
net/ieee80211/softmac/ieee80211softmac_module.c
net/ieee80211/softmac/ieee80211softmac_scan.c
net/ieee80211/softmac/ieee80211softmac_wx.c