aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorFelix Fietkau <[email protected]>2019-01-29 11:10:57 +0100
committerJohannes Berg <[email protected]>2019-02-01 11:08:02 +0100
commit9d0f50b80222dc273e67e4e14410fcfa4130a90c (patch)
tree7229938590af7ce21fe995890661bd21047c5005 /tools/perf/scripts/python/syscall-counts.py
parent5e66e35aab335b83d9ffb220d8a3a13986a7a60e (diff)
mac80211: ensure that mgmt tx skbs have tailroom for encryption
Some drivers use IEEE80211_KEY_FLAG_SW_MGMT_TX to indicate that management frames need to be software encrypted. Since normal data packets are still encrypted by the hardware, crypto_tx_tailroom_needed_cnt gets decremented after key upload to hw. This can lead to passing skbs to ccmp_encrypt_skb, which don't have the necessary tailroom for software encryption. Change the code to add tailroom for encrypted management packets, even if crypto_tx_tailroom_needed_cnt is 0. Cc: [email protected] Signed-off-by: Felix Fietkau <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions