]> git.ipfire.org Git - thirdparty/kernel/linux.git/blobdiff - include/net/tls.h
tls: fix lockless read of strp->msg_ready in ->poll
[thirdparty/kernel/linux.git] / include / net / tls.h
index 340ad43971e4711d8091a6397bb5cf3c3c4ef0fd..33f657d3c0510a0bd9e9899bc2530f9d035ce366 100644 (file)
@@ -111,7 +111,8 @@ struct tls_strparser {
        u32 stopped : 1;
        u32 copy_mode : 1;
        u32 mixed_decrypted : 1;
-       u32 msg_ready : 1;
+
+       bool msg_ready;
 
        struct strp_msg stm;