diff options
author | Jouni Malinen <jouni@codeaurora.org> | 2020-12-14 19:21:18 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-12-17 08:51:20 +0200 |
commit | ca2848022c12789685d3fab3227df02b863f9696 (patch) | |
tree | 5f29a2941e706033610a893546a513a764de19ac /drivers/net/wireless/ath/ath10k/snoc.c | |
parent | ath: Modify ath_key_delete() to not need full key entry (diff) | |
download | linux-dev-ca2848022c12789685d3fab3227df02b863f9696.tar.xz linux-dev-ca2848022c12789685d3fab3227df02b863f9696.zip |
ath9k: Postpone key cache entry deletion for TXQ frames reference it
Do not delete a key cache entry that is still being referenced by
pending frames in TXQs. This avoids reuse of the key cache entry while a
frame might still be transmitted using it.
To avoid having to do any additional operations during the main TX path
operations, track pending key cache entries in a new bitmap and check
whether any pending entries can be deleted before every new key
add/remove operation. Also clear any remaining entries when stopping the
interface.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201214172118.18100-6-jouni@codeaurora.org
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/snoc.c')
0 files changed, 0 insertions, 0 deletions