diff options
author | 2024-06-10 12:03:21 +0100 | |
---|---|---|
committer | 2024-06-10 12:03:21 +0100 | |
commit | 594ce0b8a998aa4d05827cd7c0d0dcec9a1e3ae2 (patch) | |
tree | 070bd60a8fda15e5f47339d3f6888a0fe2ca6fe9 /drivers/net/netkit.c | |
parent | clkdev: don't fail clkdev_alloc() if over-sized (diff) | |
parent | ARM: 9405/1: ftrace: Don't assume stack frames are contiguous in memory (diff) | |
download | wireguard-linux-594ce0b8a998aa4d05827cd7c0d0dcec9a1e3ae2.tar.xz wireguard-linux-594ce0b8a998aa4d05827cd7c0d0dcec9a1e3ae2.zip |
Merge topic branches 'clkdev' and 'fixes' into for-linus
Diffstat (limited to 'drivers/net/netkit.c')
-rw-r--r-- | drivers/net/netkit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netkit.c b/drivers/net/netkit.c index 39171380ccf2..a4d2e76a8d58 100644 --- a/drivers/net/netkit.c +++ b/drivers/net/netkit.c @@ -145,7 +145,7 @@ static int netkit_get_iflink(const struct net_device *dev) rcu_read_lock(); peer = rcu_dereference(nk->peer); if (peer) - iflink = peer->ifindex; + iflink = READ_ONCE(peer->ifindex); rcu_read_unlock(); return iflink; } |