tls: rx: simplify async wait
authorJakub Kicinski <kuba@kernel.org>
Fri, 8 Apr 2022 18:31:27 +0000 (11:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Apr 2022 16:32:11 +0000 (17:32 +0100)
commit37943f047bfb88ba4dfc7a522563f57c86d088a0
treea642cceae58a0af724b9bf9956f74f490d49a434
parent4175eac37123a68ebee71f288826339fb89bfec7
tls: rx: simplify async wait

Since we are protected from async completions by decrypt_compl_lock
we can drop the async_notify and reinit the completion before we
start waiting.

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