summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJiayuan Chen <jiayuan.chen@linux.dev>2026-03-04 14:42:52 +0800
committerJakub Kicinski <kuba@kernel.org>2026-03-06 16:55:36 -0800
commitad4c9559603e1897e3a978c966b04424be68f4dc (patch)
tree5fcc74159f00b8c0c1f1073be31af79207551d62 /tools/perf/scripts/python/stackcollapse.py
parent260d27b3aec9f30d68f9f3cacc674655897eb745 (diff)
net: annotate data races around sk->sk_prot
inet_sendmsg() and inet_recvmsg() access sk->sk_prot without lock_sock() or any other synchronization. sock_replace_proto() (used by sockmap), TLS and MPTCP can change sk->sk_prot under us, so these functions need READ_ONCE() to avoid load tearing. Signed-off-by: Jiayuan Chen <jiayuan.chen@linux.dev> Reviewed-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20260304064253.16955-1-jiayuan.chen@linux.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions