summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_trie.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-07-22 20:22:04 +0200
committerDavid S. Miller <davem@davemloft.net>2022-07-25 13:42:10 +0200
commit870e3a634b6a6cb1543b359007aca73fe6a03ac5 (patch)
tree10515d0f8ef7795e20f52550afb617b148a55e14 /net/ipv4/fib_trie.c
parenttcp: Fix a data-race around sysctl_tcp_comp_sack_nr. (diff)
downloadlinux-870e3a634b6a6cb1543b359007aca73fe6a03ac5.tar.xz
linux-870e3a634b6a6cb1543b359007aca73fe6a03ac5.zip
tcp: Fix data-races around sysctl_tcp_reflect_tos.
While reading sysctl_tcp_reflect_tos, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. Fixes: ac8f1710c12b ("tcp: reflect tos value received in SYN to the socket") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Acked-by: Wei Wang <weiwan@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions