kernel_samsung_a53x/net/unix
Kuniyuki Iwashima ac7cac0faa af_unix: Annotate data-race of net->unx.sysctl_max_dgram_qlen.
[ Upstream commit bd9f2d05731f6a112d0c7391a0d537bfc588dbe6 ]

net->unx.sysctl_max_dgram_qlen is exposed as a sysctl knob and can be
changed concurrently.

Let's use READ_ONCE() in unix_create1().

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:01 +01:00
..
af_unix.c af_unix: Annotate data-race of net->unx.sysctl_max_dgram_qlen. 2024-11-19 14:19:01 +01:00
diag.c af_unix: Annotate data-races around sk->sk_state in UNIX_DIAG. 2024-11-19 14:19:01 +01:00
garbage.c af_unix: Suppress false-positive lockdep splat for spin_lock() in __unix_gc(). 2024-11-19 11:32:38 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
scm.c af_unix: Do not use atomic ops for unix_sk(sk)->inflight. 2024-11-19 11:32:20 +01:00
scm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sysctl_net_unix.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00