diff options
author | Eric Dumazet <[email protected]> | 2023-09-22 03:42:20 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-10-01 19:39:19 +0100 |
commit | c4480eb5504c9771f935cbca58a3b874bdd36af8 (patch) | |
tree | 557c1fe16766040ad2c71c784a1e88fd90977997 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 959d5c11601b2b337c364b2e3102d392365e3dd3 (diff) |
inet: lockless IP_PKTOPTIONS implementation
Current implementation is already lockless, because the socket
lock is released before reading socket fields.
Add missing READ_ONCE() annotations.
Note that corresponding WRITE_ONCE() are needed, the order
of the patches do not really matter.
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions