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 data-races around netdev_tstamp_prequeue.
[ Upstream commit61adf447e3] While reading netdev_tstamp_prequeue, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. Fixes:3b098e2d7c("net: Consistent skb timestamping") 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
32f8c816b9
commit
c49b023e4e
1 changed files with 4 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue