summaryrefslogtreecommitdiff
path: root/ipc/syscall.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-08-23 10:47:00 -0700
committerDavid S. Miller <davem@davemloft.net>2022-08-24 13:46:58 +0100
commit3c9ba81d72047f2e81bb535d42856517b613aba7 (patch)
tree7ec90a2dd4a26d38004c039257620480dc404d31 /ipc/syscall.c
parent05e49cfc89e4f325eebbc62d24dd122e55f94c23 (diff)
net: Fix a data-race around sysctl_somaxconn.
While reading sysctl_somaxconn, it can be changed concurrently. Thus, we need to add READ_ONCE() to its reader. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc/syscall.c')
0 files changed, 0 insertions, 0 deletions