diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2024-06-04 09:52:28 -0700 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-06-06 12:57:14 +0200 |
commit | 942238f9735a4a4ebf8274b218d9a910158941d1 (patch) | |
tree | 9239edf0c4e347bfa3f75e465f6027958c8e6c2b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 26bfb8b57063f52b867f9b6c8d1742fcb5bd656c (diff) |
af_unix: Annodate data-races around sk->sk_state for writers.
sk->sk_state is changed under unix_state_lock(), but it's read locklessly
in many places.
This patch adds WRITE_ONCE() on the writer side.
We will add READ_ONCE() to the lockless readers in the following patches.
Fixes: 83301b5367a9 ("af_unix: Set TCP_ESTABLISHED for datagram sockets too")
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions