commit | add7c2af16bb55c241e114c83ed9baee62f3374b | [log] [tgz] |
---|---|---|
author | Kuniyuki Iwashima <kuniyu@amazon.com> | Tue Aug 23 10:46:52 2022 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Sep 05 10:23:55 2022 +0200 |
tree | f0cebe4fd13eef14426567d298b9706232755a69 | |
parent | 7a34fb980e4d69596cd07781620e63d682f9054f [diff] |
net: Fix a data-race around sysctl_net_busy_read. [ Upstream commit e59ef36f0795696ab229569c153936bfd068d21c ] While reading sysctl_net_busy_read, it can be changed concurrently. Thus, we need to add READ_ONCE() to its reader. Fixes: 2d48d67fa8cd ("net: poll/select low latency socket support") 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>