WSL2-Linux-Kernel/net/netrom
Jason Xing 0866afaff1 netrom: Fix data-races around sysctl_net_busy_read
[ Upstream commit d380ce70058a4ccddc3e5f5c2063165dc07672c6 ]

We need to protect the reader reading the sysctl value because the
value can be changed concurrently.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Jason Xing <kernelxing@tencent.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-15 10:48:17 -04:00
..
Makefile
af_netrom.c netrom: Fix data-races around sysctl_net_busy_read 2024-03-15 10:48:17 -04:00
nr_dev.c netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser 2024-03-15 10:48:16 -04:00
nr_in.c netrom: Fix data-races around sysctl_net_busy_read 2024-03-15 10:48:17 -04:00
nr_loopback.c
nr_out.c netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser 2024-03-15 10:48:16 -04:00
nr_route.c netrom: Fix a data-race around sysctl_netrom_link_fails_count 2024-03-15 10:48:17 -04:00
nr_subr.c netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser 2024-03-15 10:48:16 -04:00
nr_timer.c netrom: Fix use-after-free of a listening socket. 2023-02-01 08:27:27 +01:00
sysctl_net_netrom.c