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

back to top