aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorJouni Malinen <[email protected]>2020-12-14 19:21:14 +0200
committerKalle Valo <[email protected]>2020-12-17 08:51:07 +0200
commit56c5485c9e444c2e85e11694b6c44f1338fc20fd (patch)
treeb8ae04a5886d6bb752df4f25e45070e7f2f78809 /tools/perf/scripts/python/sctop.py
parent5f1aa93ffa1f36577d0c18e91269f0ffd491e822 (diff)
ath: Use safer key clearing with key cache entries
It is possible for there to be pending frames in TXQs with a reference to the key cache entry that is being deleted. If such a key cache entry is cleared, those pending frame in TXQ might get transmitted without proper encryption. It is safer to leave the previously used key into the key cache in such cases. Instead, only clear the MAC address to prevent RX processing from using this key cache entry. This is needed in particularly in AP mode where the TXQs cannot be flushed on station disconnection. This change alone may not be able to address all cases where the key cache entry might get reused for other purposes immediately (the key cache entry should be released for reuse only once the TXQs do not have any remaining references to them), but this makes it less likely to get unprotected frames and the more complete changes may end up being significantly more complex. Signed-off-by: Jouni Malinen <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions