Kuniyuki Iwashima 6e8f9df62d 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:27:42 +02:00
..
2021-06-10 13:37:09 +02:00
2022-01-05 12:37:44 +01:00
2019-04-19 14:07:40 -07:00
2019-10-23 20:13:22 -07:00
2020-07-22 09:32:46 +02:00
2021-08-04 12:27:39 +02:00
2019-04-22 21:47:25 -07:00
2022-07-21 20:59:20 +02:00
2019-06-19 11:23:13 -04:00
2022-03-19 13:40:16 +01:00