diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-04-08 20:31:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-10 18:32:11 +0200 |
commit | 37943f047bfb88ba4dfc7a522563f57c86d088a0 (patch) | |
tree | a642cceae58a0af724b9bf9956f74f490d49a434 /include/net/tls.h | |
parent | tls: rx: wrap decryption arguments in a structure (diff) | |
download | linux-37943f047bfb88ba4dfc7a522563f57c86d088a0.tar.xz linux-37943f047bfb88ba4dfc7a522563f57c86d088a0.zip |
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>
Diffstat (limited to 'include/net/tls.h')
-rw-r--r-- | include/net/tls.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/tls.h b/include/net/tls.h index a01c264e5f15..6fe78361c8c8 100644 --- a/include/net/tls.h +++ b/include/net/tls.h @@ -152,7 +152,6 @@ struct tls_sw_context_rx { atomic_t decrypt_pending; /* protect crypto_wait with decrypt_pending*/ spinlock_t decrypt_compl_lock; - bool async_notify; }; struct tls_record_info { |