summaryrefslogtreecommitdiffstats
path: root/include/net/dst_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/dst_cache.h')
-rw-r--r--include/net/dst_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/dst_cache.h b/include/net/dst_cache.h
index df6622a5fe98..b4a55d2d5e71 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);
}
/**