summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-06-04 23:34:38 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-04 23:34:38 +0300
commit2b66552eb2a466646ffc3bde218db537977dfedd (patch)
treeb082376e72b7935d16315fa9e1e9620fc8bca38b /include
parentf4cfcfbdf03cf7cf5f9097803415dfdcf965676c (diff)
parente52972c11d6b1262964db96d65934196db621685 (diff)
downloadlinux-2b66552eb2a466646ffc3bde218db537977dfedd.tar.xz
Merge branch 'net-tls-redo-the-RX-resync-locking'
Jakub Kicinski says: ==================== net/tls: redo the RX resync locking Take two of making sure we don't use a NULL netdev pointer for RX resync. This time using a bit and an open coded wait loop. v2: - fix build warning (DaveM). ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/tls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/tls.h b/include/net/tls.h
index 39ea62f0c1f6..4a55ce6a303f 100644
--- a/include/net/tls.h
+++ b/include/net/tls.h
@@ -209,6 +209,10 @@ struct tls_offload_context_tx {
(ALIGN(sizeof(struct tls_offload_context_tx), sizeof(void *)) + \
TLS_DRIVER_STATE_SIZE)
+enum tls_context_flags {
+ TLS_RX_SYNC_RUNNING = 0,
+};
+
struct cipher_context {
char *iv;
char *rec_seq;