Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: Fix data-races around netdev_tstamp_prequeue.
[ Upstream commit 61adf44 ] While reading netdev_tstamp_prequeue, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. Fixes: 3b098e2 ("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>
- Loading branch information