diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-04-11 18:50:37 -0700 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-04-13 13:30:22 +0200 |
commit | 36647b206c014a0bf3ab17bc88f2c840eefd796c (patch) | |
tree | e87ef4b4d749bfc1cd9df17c28bace8009ec24d1 /tools/testing/selftests/bpf/prog_tests/tracing_struct.c | |
parent | 50762d9af307b1c466fe0e1441c7923975927d98 (diff) |
bnxt: use READ_ONCE/WRITE_ONCE for ring indexes
Eric points out that we should make sure that ring index updates
are wrapped in the appropriate READ_ONCE/WRITE_ONCE macros.
Suggested-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions