net: dst_cache: annotate data-races around dst_cache->reset_ts
authorEric Dumazet <edumazet@google.com>
Tue, 7 May 2024 13:20:00 +0000 (13:20 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 9 May 2024 01:49:51 +0000 (18:49 -0700)
commit3b09b2bd0d62de1f359b0c130570711c99c5e80b
tree837ac235d524bf12bbf53e270e0f546f907e637f
parente497c3228a4e09cdc956f19200ee1d9e84b63f96
net: dst_cache: annotate data-races around dst_cache->reset_ts

dst_cache->reset_ts is read or written locklessly,
add READ_ONCE() and WRITE_ONCE() annotations.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Link: https://lore.kernel.org/r/20240507132000.614591-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/dst_cache.h
net/core/dst_cache.c