diff options
| author | Brian Norris <[email protected]> | 2017-07-24 18:13:21 -0700 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2017-07-28 17:47:47 +0300 |
| commit | ce32d1d83702064e7746453622fc2d6bdcd8baa4 (patch) | |
| tree | 05cecd8052b6d54363b91b69e693f58089c3befc /tools/perf/scripts/python | |
| parent | 643acea6297f9aa7241cfb17d5b5606186f54137 (diff) | |
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 <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions