aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2023-09-22 22:03:53 +0000
committerPaolo Abeni <[email protected]>2023-10-03 10:05:22 +0200
commitcbc3a153222805d65f821e10f4f78b6afce06f86 (patch)
tree37e010c36a217f5b19ab5a380e85dd0aa9b79389 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent35766690d675f63c111afa0a2f5286b74a5b5cc2 (diff)
tcp_metrics: add missing barriers on delete
When removing an item from RCU protected list, we must prevent store-tearing, using rcu_assign_pointer() or WRITE_ONCE(). Fixes: 04f721c671656 ("tcp_metrics: Rewrite tcp_metrics_flush_all") Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: David Ahern <[email protected]> Acked-by: Neal Cardwell <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions