tls: rx: move counting TlsDecryptErrors for sync
authorJakub Kicinski <kuba@kernel.org>
Mon, 11 Apr 2022 19:19:10 +0000 (12:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2022 10:45:39 +0000 (11:45 +0100)
commit284b4d93daee56dff3e10029ddf2e03227f50dbf
tree3870bba0f7315af819f11250ac1b23355d8b1e90
parent0775639ce1ca953503121e350d6b885366f56a52
tls: rx: move counting TlsDecryptErrors for sync

Move counting TlsDecryptErrors to tls_do_decryption()
where differences between sync and async crypto are
reconciled.

No functional changes, this code just always gave
me a pause.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_sw.c