summaryrefslogtreecommitdiff
path: root/net/mac80211/mesh_hwmp.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-04-03 12:31:05 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2008-04-08 20:44:41 (GMT)
commit49ec6fa22028054f292c9c290415b88281f7b783 (patch)
tree1defae1fef6cdff58ae0420d4d269d721e5de364 /net/mac80211/mesh_hwmp.c
parentd8c17e159758c2a4f8c3319fe8a6cf313f7a6733 (diff)
downloadlinux-fsl-qoriq-49ec6fa22028054f292c9c290415b88281f7b783.tar.xz
mac80211: fix possible sta-debugfs work lockup
Because we queue the sta-debugfs-adding work on our mac80211 workqueue (which needs to be flushed under RTNL) and that work needs the RTNL, it can currently deadlock, thanks to Reinette Chatre for pointing out the lockdep warning about this. This patch fixes it by moving this work to the common kernel workqueue (using schedule_work) and canceling it as appropriate. It also fixes a related problem: When a STA is pinned by the debugfs adding work and sta_info_flush() runs concurrently it is not guaranteed that all STAs are removed from the driver before the corresponding interface is removed which may lead to bugs. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh_hwmp.c')
0 files changed, 0 insertions, 0 deletions