diff options
author | 2022-08-23 10:46:53 -0700 | |
---|---|---|
committer | 2022-08-24 13:46:58 +0100 | |
commit | 2e0c42374ee32e72948559d2ae2f7ba3dc6b977c (patch) | |
tree | dedb5016d36856fd34d13fbcfc7d93823b9b8cd9 /lib | |
parent | net: Fix a data-race around sysctl_net_busy_read. (diff) | |
download | wireguard-linux-2e0c42374ee32e72948559d2ae2f7ba3dc6b977c.tar.xz wireguard-linux-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 <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions