aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-04-11 12:19:17 -0700
committerDavid S. Miller <davem@davemloft.net>2022-04-13 11:45:39 +0100
commita4ae58cdb6e8ed6b00428f65515d5948e1b56deb (patch)
tree72688c7f291ba8b5e0b231f838d9a448081133f7 /tools/perf/scripts/python/bin/stackcollapse-report
parenttls: rx: use MAX_IV_SIZE for allocations (diff)
downloadlinux-a4ae58cdb6e8ed6b00428f65515d5948e1b56deb.tar.gz
linux-a4ae58cdb6e8ed6b00428f65515d5948e1b56deb.zip
tls: rx: only copy IV from the packet for TLS 1.2
TLS 1.3 and ChaChaPoly don't carry IV in the packet. The code before this change would copy out iv_size worth of whatever followed the TLS header in the packet and then for TLS 1.3 | ChaCha overwrite that with the sequence number. Waste of cycles especially with TLS 1.2 being close to dead and TLS 1.3 being the common case. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions