diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-11-13 11:25:47 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-11-30 12:29:34 +0100 |
commit | c2a1a5e13684cafb866f15af2394119f62c423a9 (patch) | |
tree | 0a03c3479caa80fb709c9eb2448d8eef2da493ec /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 13c6d5f8370a55f556443e32c314f8b3abf842ad (diff) |
mt76: fix race condition in station removal
If there are still pending packets in the tx queue when removing a station,
it could possibly lead to a call to further attempts to pull packets from
the mac80211 tx queue after it has already been removed from the scheduling
list.
Prevent this from happening by calling synchronize_rcu after deleting the
wcid pointer before further cleaning up the tx queues.
To be extra careful, ensure that mtxq->list is always initialized properly.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions