Kuniyuki Iwashima 7160a9e0fd net: Fix a data-race around sysctl_net_busy_poll.
[ Upstream commit c42b7cddea47503411bfb5f2f93a4154aaffa2d9 ]

While reading sysctl_net_busy_poll, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its reader.

Fixes: 060212928670 ("net: add low latency socket poll")
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>
2022-09-05 10:25:04 +02:00
..
2017-07-11 06:08:58 -04:00
2021-06-10 12:43:51 +02:00
2019-06-17 19:52:44 +02:00
2019-03-23 14:35:16 +01:00
2022-01-05 12:33:49 +01:00
2017-08-31 14:42:19 -07:00
2019-11-10 11:25:37 +01:00
2020-07-22 09:22:19 +02:00
2021-08-04 12:22:17 +02:00
2018-05-16 10:10:23 +02:00
2022-07-21 20:42:44 +02:00