diff options
Diffstat (limited to 'include/net/dst_cache.h')
-rw-r--r-- | include/net/dst_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/dst_cache.h b/include/net/dst_cache.h index df6622a5fe..b4a55d2d5e 100644 --- a/include/net/dst_cache.h +++ b/include/net/dst_cache.h @@ -76,7 +76,7 @@ struct dst_entry *dst_cache_get_ip6(struct dst_cache *dst_cache, */ static inline void dst_cache_reset(struct dst_cache *dst_cache) { - dst_cache->reset_ts = jiffies; + WRITE_ONCE(dst_cache->reset_ts, jiffies); } /** |