]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb6e7e833578508dcf30727559e0ee6ca1011d4c3
treea642cceae58a0af724b9bf9956f74f490d49a434
parent85b071d7912dde53b7a61c9a82cf9985e6a408ad
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