diff options
author | Gal Pressman <[email protected]> | 2022-07-05 14:08:37 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-07-06 13:10:59 +0100 |
commit | a069a90554168ac4cc81af65f000557d2a8a0745 (patch) | |
tree | 1f536025f74e954c908d37d0a322f2726f0fcc22 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | ae9fdf6cb4da4265bdc3a574d06eaad02a7f669a (diff) |
Revert "tls: rx: move counting TlsDecryptErrors for sync"
This reverts commit 284b4d93daee56dff3e10029ddf2e03227f50dbf.
When using TLS device offload and coming from tls_device_reencrypt()
flow, -EBADMSG error in tls_do_decryption() should not be counted
towards the TLSTlsDecryptError counter.
Move the counter increase back to the decrypt_internal() call site in
decrypt_skb_update().
This also fixes an issue where:
if (n_sgin < 1)
return -EBADMSG;
Errors in decrypt_internal() were not counted after the cited patch.
Fixes: 284b4d93daee ("tls: rx: move counting TlsDecryptErrors for sync")
Cc: Jakub Kicinski <[email protected]>
Reviewed-by: Maxim Mikityanskiy <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Signed-off-by: Gal Pressman <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions