diff options
author | Toke Høiland-Jørgensen <[email protected]> | 2018-08-13 14:16:25 +0200 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2018-08-14 14:00:07 +0200 |
commit | 77cfaf52eca5cac30ed029507e0cab065f888995 (patch) | |
tree | d11dc2f1e9a73dd1c463a544028845afddffe39d /scripts/gdb/linux/tasks.py | |
parent | f623f75ae443d0c771635d51cc986b9d389bf631 (diff) |
mac80211: Run TXQ teardown code before de-registering interfaces
The TXQ teardown code can reference the vif data structures that are
stored in the netdev private memory area if there are still packets on
the queue when it is being freed. Since the TXQ teardown code is run
after the netdevs are freed, this can lead to a use-after-free. Fix this
by moving the TXQ teardown code to earlier in ieee80211_unregister_hw().
Reported-by: Ben Greear <[email protected]>
Tested-by: Ben Greear <[email protected]>
Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions