aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2022-08-23 17:46:53 +0000
committerDavid S. Miller <[email protected]>2022-08-24 12:46:58 +0000
commit2e0c42374ee32e72948559d2ae2f7ba3dc6b977c (patch)
treededb5016d36856fd34d13fbcfc7d93823b9b8cd9 /net/ipv4/tcp.c
parentnet: Fix a data-race around sysctl_net_busy_read. (diff)
downloadkernel-2e0c42374ee32e72948559d2ae2f7ba3dc6b977c.tar.gz
kernel-2e0c42374ee32e72948559d2ae2f7ba3dc6b977c.zip
net: Fix a data-race around netdev_budget.
While reading netdev_budget, it can be changed concurrently. Thus, we need to add READ_ONCE() to its reader. Fixes: 51b0bdedb8e7 ("[NET]: Separate two usages of netdev_max_backlog.") Signed-off-by: Kuniyuki Iwashima <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions