8a029ee1e3
[ Upstream commit 31e03207119a535d0b0e3b3a7f91983aeb2cb14d ]
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
af_unix.c | ||
diag.c | ||
garbage.c | ||
scm.c | ||
scm.h | ||
sysctl_net_unix.c | ||
unix_bpf.c |