diff options
| author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-08-23 10:46:51 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-05 10:26:30 +0200 |
| commit | da89cab514b3ec7fdedb378617160c47fe3b60a9 (patch) | |
| tree | bdab3c6d72572fc57f978ec30ea8593d5c24a9d8 /include/drm/drm_utils.h | |
| parent | 04ec1e942cff42fecdde5ee30f42fc28b822379b (diff) | |
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>
Diffstat (limited to 'include/drm/drm_utils.h')
0 files changed, 0 insertions, 0 deletions
