]> 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)
commitdac22c2b29fd7bbdbc26113850e070819e0c7a06
treea642cceae58a0af724b9bf9956f74f490d49a434
parent19508fce60ae4daa96054fca69df626fbeba39a9
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