mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
net: Fix a data-race around netdev_budget.
[ Upstream commit2e0c42374e] While reading netdev_budget, it can be changed concurrently. Thus, we need to add READ_ONCE() to its reader. Fixes:51b0bdedb8("[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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
6a520caf1f
commit
293ec6acc3
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue