Jakub Kicinski 704402f913 tls: rx: simplify async wait
commit 37943f047bfb88ba4dfc7a522563f57c86d088a0 upstream.

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>
Stable-dep-of: aec7961916f3 ("tls: fix race between async notify and socket close")
Signed-off-by: Shaoying Xu <shaoyi@amazon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-05-25 16:20:17 +02:00
..
2021-07-01 13:19:48 -07:00
2020-05-05 13:23:29 -07:00
2023-11-20 11:08:28 +01:00
2019-12-09 10:36:44 -08:00
2020-06-22 21:12:44 -07:00
2021-10-18 13:47:09 +01:00
2020-03-04 13:25:55 -08:00
2023-06-14 11:13:02 +02:00
2019-10-05 16:29:00 -07:00
2021-08-03 13:05:26 +01:00
2024-05-25 16:20:17 +02:00
2020-06-18 20:46:23 -07:00
2023-08-11 15:13:54 +02:00
2019-12-09 10:28:43 -08:00