WSL2-Linux-Kernel/net/decnet
Kuniyuki Iwashima 618116a273 net: Fix data-races around sysctl_[rw]mem(_offset)?.
[ Upstream commit 0273954595 ]

While reading these sysctl variables, they can be changed concurrently.
Thus, we need to add READ_ONCE() to their readers.

  - .sysctl_rmem
  - .sysctl_rwmem
  - .sysctl_rmem_offset
  - .sysctl_wmem_offset
  - sysctl_tcp_rmem[1, 2]
  - sysctl_tcp_wmem[1, 2]
  - sysctl_decnet_rmem[1]
  - sysctl_decnet_wmem[1]
  - sysctl_tipc_rmem[1]

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-03 12:03:51 +02:00
..
netfilter netfilter: Replace HTTP links with HTTPS ones 2020-07-29 20:09:18 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile decnet: whitespace fixes 2018-07-24 14:10:42 -07:00
README
af_decnet.c net: Fix data-races around sysctl_[rw]mem(_offset)?. 2022-08-03 12:03:51 +02:00
dn_dev.c net: Remove redundant if statements 2021-08-05 13:27:50 +01:00
dn_fib.c net: Remove redundant if statements 2021-08-05 13:27:50 +01:00
dn_neigh.c proc: introduce proc_create_net{,_data} 2018-05-16 07:24:30 +02:00
dn_nsp_in.c decnet: Fix spelling mistakes 2021-06-02 14:01:55 -07:00
dn_nsp_out.c decnet: Fix spelling mistakes 2021-06-02 14:01:55 -07:00
dn_route.c net: Remove redundant if statements 2021-08-05 13:27:50 +01:00
dn_rules.c decnet: whitespace fixes 2018-07-24 14:10:42 -07:00
dn_table.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dn_timer.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
sysctl_net_decnet.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00

README

                       Linux DECnet Project
                      ======================

The documentation for this kernel subsystem is available in the
Documentation/networking subdirectory of this distribution and also
on line at http://www.chygwyn.com/DECnet/

Steve Whitehouse <SteveW@ACM.org>