aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2025-06-30 12:19:28 +0000
committerJakub Kicinski <[email protected]>2025-07-02 21:32:29 +0000
commitf1c5fd34891a1c242885f48c2e4dc52df180f311 (patch)
tree57b3b2594bd1abb26ae65a0c65fcdb2a571900a1 /net/unix/garbage.c
parentnet: dst: annotate data-races around dst->lastuse (diff)
downloadkernel-f1c5fd34891a1c242885f48c2e4dc52df180f311.tar.gz
kernel-f1c5fd34891a1c242885f48c2e4dc52df180f311.zip
net: dst: annotate data-races around dst->input
dst_dev_put() can overwrite dst->input while other cpus might read this field (for instance from dst_input()) Add READ_ONCE()/WRITE_ONCE() annotations to suppress potential issues. We will likely need full RCU protection later. Fixes: 4a6ce2b6f2ec ("net: introduce a new function dst_dev_put()") Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions