diff options
| author | Kuniyuki Iwashima <[email protected]> | 2024-06-04 09:52:41 -0700 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-06-06 12:57:15 +0200 |
| commit | efaf24e30ec39ebbea9112227485805a48b0ceb1 (patch) | |
| tree | 42ca942ab931b6967d93e9183b4712b902993697 /tools/perf/scripts/python/gecko.py | |
| parent | 5d915e584d8408211d4567c22685aae8820bfc55 (diff) | |
af_unix: Annotate data-race of sk->sk_shutdown in sk_diag_fill().
While dumping sockets via UNIX_DIAG, we do not hold unix_state_lock().
Let's use READ_ONCE() to read sk->sk_shutdown.
Fixes: e4e541a84863 ("sock-diag: Report shutdown for inet and unix sockets (v2)")
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions