Eric Dumazet cbc3a15322 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 <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-10-03 10:05:22 +02:00
..
2023-05-31 13:06:57 +02:00
2021-05-17 15:29:35 -07:00
2023-03-31 21:37:06 -07:00
2023-10-01 19:39:18 +01:00
2023-10-01 19:39:18 +01:00
2023-04-13 16:43:38 -07:00
2023-01-26 10:52:18 +01:00
2021-05-17 15:29:35 -07:00
2022-09-20 10:21:49 -07:00
2023-10-01 19:39:18 +01:00
2022-12-20 03:13:45 +01:00
2023-10-01 13:13:01 +01:00
2021-05-17 15:29:35 -07:00
2022-11-16 09:43:35 +00:00
2023-09-14 16:16:36 +02:00
2023-08-29 17:39:15 -07:00