diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2024-01-23 09:08:52 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-01-26 20:34:24 -0800 |
commit | 31e03207119a535d0b0e3b3a7f91983aeb2cb14d (patch) | |
tree | 3b57a2704b30a19f5f7cfb675eae68fdf2315afc /arch/xtensa/configs | |
parent | fb4bb62aaac715e50c7c007714af19a2698db88b (diff) |
af_unix: Annotate data-race of gc_in_progress in wait_for_unix_gc().
gc_in_progress is changed under spin_lock(&unix_gc_lock),
but wait_for_unix_gc() reads it locklessly.
Let's use READ_ONCE().
Fixes: 5f23b734963e ("net: Fix soft lockups/OOM issues w/ unix garbage collector")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://lore.kernel.org/r/20240123170856.41348-2-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'arch/xtensa/configs')
0 files changed, 0 insertions, 0 deletions