summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2017-07-25 04:13:21 +0300
committerKalle Valo <kvalo@codeaurora.org>2017-07-28 17:47:47 +0300
commitce32d1d83702064e7746453622fc2d6bdcd8baa4 (patch)
tree05cecd8052b6d54363b91b69e693f58089c3befc /scripts/checkstack.pl
parent643acea6297f9aa7241cfb17d5b5606186f54137 (diff)
downloadlinux-ce32d1d83702064e7746453622fc2d6bdcd8baa4.tar.xz
mwifiex: unregister wiphy before freeing resources
It's possible for some control interfaces (e.g., scans, set freq) to be active after we've stopped our main work queue and the netif TX queues. These don't get completely shut out until we've unregistered the wdevs and wiphy. So let's only free command buffers and poison our lists after wiphy_unregister(). This resolves various use-after-free issues seen when resetting the device. Cc: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions