aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2023-09-02 00:27:08 +0000
committerDavid S. Miller <[email protected]>2023-09-04 10:06:16 +0000
commitb192812905e4b134f7b7994b079eb647e9d2d37e (patch)
tree332b4a89cd819ad45d81d5465c093852942323af /tools/perf/scripts/python/check-perf-trace.py
parentaf_unix: Fix data-races around sk->sk_shutdown. (diff)
downloadkernel-b192812905e4b134f7b7994b079eb647e9d2d37e.tar.gz
kernel-b192812905e4b134f7b7994b079eb647e9d2d37e.zip
af_unix: Fix data race around sk->sk_err.
As with sk->sk_shutdown shown in the previous patch, sk->sk_err can be read locklessly by unix_dgram_sendmsg(). Let's use READ_ONCE() for sk_err as well. Note that the writer side is marked by commit cc04410af7de ("af_unix: annotate lockless accesses to sk->sk_err"). Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Kuniyuki Iwashima <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions