summaryrefslogtreecommitdiff
path: root/include/net/tls.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-04-08 11:31:27 -0700
committerDavid S. Miller <davem@davemloft.net>2022-04-10 17:32:11 +0100
commit37943f047bfb88ba4dfc7a522563f57c86d088a0 (patch)
treea642cceae58a0af724b9bf9956f74f490d49a434 /include/net/tls.h
parent4175eac37123a68ebee71f288826339fb89bfec7 (diff)
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.h1
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 {