summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2023-08-26 00:35:19 +0300
committerJakub Kicinski <kuba@kernel.org>2023-08-28 03:17:42 +0300
commit077e05d135489e144d9e0d01454886bf613d32a4 (patch)
tree57fecc38f0cba02f0e11856201d5241ce99adb58 /tools/perf/scripts/python/export-to-postgresql.py
parent5f309ade49c7068b1149ecf825c4c16e56a3b865 (diff)
downloadlinux-077e05d135489e144d9e0d01454886bf613d32a4.tar.xz
tls: use tls_cipher_desc to simplify do_tls_getsockopt_conf
Every cipher uses the same code to update its crypto_info struct based on the values contained in the cctx, with only the struct type and size/offset changing. We can get those from tls_cipher_desc, and use a single pair of memcpy and final copy_to_user. Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Link: https://lore.kernel.org/r/c21a904b91e972bdbbf9d1c6d2731ccfa1eedf72.1692977948.git.sd@queasysnail.net Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions