]> git.hungrycats.org Git - linux/commit
tls: rx: move counting TlsDecryptErrors for sync
authorJakub Kicinski <kuba@kernel.org>
Mon, 11 Apr 2022 19:19:10 +0000 (12:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Mar 2024 14:38:47 +0000 (14:38 +0000)
commit2ec59e16554992ccba9747a1b5e13fc482b0ed15
treea14b3a707d02c669962e2293880dd8e12770c7fd
parentb61dbb5ef449afe4e3d2d2298ebb5db52b33ef80
tls: rx: move counting TlsDecryptErrors for sync

[ Upstream commit 284b4d93daee56dff3e10029ddf2e03227f50dbf ]

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>
Stable-dep-of: f7fa16d49837 ("tls: decrement decrypt_pending if no async completion will be called")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/tls/tls_sw.c