diff --git a/net/tls/tls_sw.c b/net/tls/tls_sw.c index d0b7078ca3ec..fd1a7ccc22bb 100644 --- a/net/tls/tls_sw.c +++ b/net/tls/tls_sw.c @@ -268,9 +268,6 @@ static int tls_do_decryption(struct sock *sk, if (ret == -EBADMSG) TLS_INC_STATS(sock_net(sk), LINUX_MIB_TLSDECRYPTERROR); - if (async) - atomic_dec(&ctx->decrypt_pending); - return ret; }