summaryrefslogtreecommitdiff
path: root/lib/bsearch.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-07-20 19:50:19 +0300
committerDavid S. Miller <davem@davemloft.net>2022-07-22 14:06:17 +0300
commit0f1e4d06591d0a7907c71f7b6d1c79f8a4de8098 (patch)
tree5dc1a8cbc4a9887bbf7c43a97bcec98835173e4e /lib/bsearch.c
parent780476488844e070580bfc9e3bc7832ec1cea883 (diff)
downloadlinux-0f1e4d06591d0a7907c71f7b6d1c79f8a4de8098.tar.xz
tcp: Fix data-races around sysctl_tcp_workaround_signed_windows.
While reading sysctl_tcp_workaround_signed_windows, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. Fixes: 15d99e02baba ("[TCP]: sysctl to allow TCP window > 32767 sans wscale") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/bsearch.c')
0 files changed, 0 insertions, 0 deletions