Revision 928f353cb8672f0d6078aad75eeec0ed33875b12 authored by Taehee Yoo on 17 July 2022, 16:09:05 UTC, committed by Paolo Abeni on 19 July 2022, 10:37:02 UTC
There are some data races in the amt module.
amt->ready4, amt->ready6, and amt->status can be accessed concurrently
without locks.
So, it uses READ_ONCE() and WRITE_ONCE().

Fixes: cbc21dc1cfe9 ("amt: add data plane of amt interface")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
1 parent 9c343ea
History
File Mode Size
api-aead.rst -rw-r--r-- 1.0 KB
api-akcipher.rst -rw-r--r-- 789 bytes
api-digest.rst -rw-r--r-- 1.4 KB
api-intro.rst -rw-r--r-- 6.7 KB
api-kpp.rst -rw-r--r-- 1.3 KB
api-rng.rst -rw-r--r-- 446 bytes
api-samples.rst -rw-r--r-- 5.7 KB
api-skcipher.rst -rw-r--r-- 1.3 KB
api.rst -rw-r--r-- 200 bytes
architecture.rst -rw-r--r-- 14.5 KB
asymmetric-keys.rst -rw-r--r-- 15.9 KB
async-tx-api.rst -rw-r--r-- 9.9 KB
crypto_engine.rst -rw-r--r-- 2.6 KB
descore-readme.rst -rw-r--r-- 17.5 KB
devel-algos.rst -rw-r--r-- 8.8 KB
index.rst -rw-r--r-- 566 bytes
intro.rst -rw-r--r-- 3.1 KB
userspace-if.rst -rw-r--r-- 14.7 KB

back to top