diff options
| author | Eric Dumazet <edumazet@google.com> | 2024-01-22 11:25:55 +0000 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2024-01-23 15:13:54 +0100 |
| commit | efd402537673f9951992aea4ef0f5ff51d858f4b (patch) | |
| tree | c91d5dace83981af7cd63b41cc96080a544be13f /tools/perf/scripts/python | |
| parent | Merge tag 'net-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd... (diff) | |
| download | linux-efd402537673f9951992aea4ef0f5ff51d858f4b.tar.gz linux-efd402537673f9951992aea4ef0f5ff51d858f4b.zip | |
sock_diag: annotate data-races around sock_diag_handlers[family]
__sock_diag_cmd() and sock_diag_bind() read sock_diag_handlers[family]
without a lock held.
Use READ_ONCE()/WRITE_ONCE() annotations to avoid potential issues.
Fixes: 8ef874bfc729 ("sock_diag: Move the sock_ code to net/core/")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
