summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-06-30 15:19:29 +0300
committerJakub Kicinski <kuba@kernel.org>2025-07-03 00:32:30 +0300
commit2dce8c52a98995c4719def6f88629ab1581c0b82 (patch)
treedc7bcd58ec7b1544d804b173160aff812941a9b1 /lib/crypto/mpi/mpiutil.c
parentf1c5fd34891a1c242885f48c2e4dc52df180f311 (diff)
downloadlinux-2dce8c52a98995c4719def6f88629ab1581c0b82.tar.xz
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 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions