diff options
Diffstat (limited to 'net/tls/tls.h')
-rw-r--r-- | net/tls/tls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tls/tls.h b/net/tls/tls.h index 762f424ff2..e5e4745230 100644 --- a/net/tls/tls.h +++ b/net/tls/tls.h @@ -215,7 +215,7 @@ static inline struct sk_buff *tls_strp_msg(struct tls_sw_context_rx *ctx) static inline bool tls_strp_msg_ready(struct tls_sw_context_rx *ctx) { - return ctx->strp.msg_ready; + return READ_ONCE(ctx->strp.msg_ready); } static inline bool tls_strp_msg_mixed_decrypted(struct tls_sw_context_rx *ctx) |