summaryrefslogtreecommitdiff
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-06-30 12:19:29 +0000
committerJakub Kicinski <kuba@kernel.org>2025-07-02 14:32:30 -0700
commit2dce8c52a98995c4719def6f88629ab1581c0b82 (patch)
treedc7bcd58ec7b1544d804b173160aff812941a9b1 /net/tipc/node.c
parentf1c5fd34891a1c242885f48c2e4dc52df180f311 (diff)
net: dst: annotate data-races around dst->output
dst_dev_put() can overwrite dst->output while other cpus might read this field (for instance from dst_output()) Add READ_ONCE()/WRITE_ONCE() annotations to suppress potential issues. We will likely need RCU protection in the future. Fixes: 4a6ce2b6f2ec ("net: introduce a new function dst_dev_put()") Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com> Link: https://patch.msgid.link/20250630121934.3399505-6-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions