diff options
author | 2022-08-23 10:46:47 -0700 | |
---|---|---|
committer | 2022-08-24 13:46:57 +0100 | |
commit | 61adf447e38664447526698872e21c04623afb8e (patch) | |
tree | 606904f24f02ff830860bbeac2006c4b936a3eda /lib/mpi/mpiutil.c | |
parent | net: Fix data-races around netdev_max_backlog. (diff) | |
download | wireguard-linux-61adf447e38664447526698872e21c04623afb8e.tar.xz wireguard-linux-61adf447e38664447526698872e21c04623afb8e.zip |
net: Fix data-races around netdev_tstamp_prequeue.
While reading netdev_tstamp_prequeue, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its readers.
Fixes: 3b098e2d7c69 ("net: Consistent skb timestamping")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions