linux/net/netrom
Jason Xing f9055fa2b2 netrom: Fix data-races around sysctl_net_busy_read
[ Upstream commit d380ce7005 ]

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:16 -04:00
..
af_netrom.c netrom: Fix data-races around sysctl_net_busy_read 2024-03-15 10:48:16 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
nr_dev.c netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser 2024-03-15 10:48:15 -04:00
nr_in.c netrom: Fix data-races around sysctl_net_busy_read 2024-03-15 10:48:16 -04:00
nr_loopback.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
nr_out.c netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser 2024-03-15 10:48:15 -04:00
nr_route.c netrom: Fix a data-race around sysctl_netrom_link_fails_count 2024-03-15 10:48:16 -04:00
nr_subr.c netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser 2024-03-15 10:48:15 -04:00
nr_timer.c netrom: Fix use-after-free of a listening socket. 2023-02-06 07:52:46 +01:00
sysctl_net_netrom.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00