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
Kconfig -rw-r--r-- 71.9 KB
Makefile -rw-r--r-- 1.2 KB
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 15.5 KB
do_mounts.h -rw-r--r-- 908 bytes
do_mounts_initrd.c -rw-r--r-- 3.9 KB
do_mounts_rd.c -rw-r--r-- 7.7 KB
init_task.c -rw-r--r-- 6.1 KB
initramfs.c -rw-r--r-- 17.2 KB
main.c -rw-r--r-- 39.6 KB
noinitramfs.c -rw-r--r-- 862 bytes
version.c -rw-r--r-- 1.1 KB

back to top