[5.10-rt][PATCH 0/2] backport of RT fix for nft counter

From: Jan Kiszka
Date: Fri Feb 21 2025 - 12:46:25 EST


As 5.10 requires some manual work, here are the two patches needed to
address [1].

Note that 5.15-rt already has the fix (f036d9effdba). 6.1-rt and 6.6-rt
can pick 4a1d3acd6ea8 without conflicts or dependencies.

Pavel, please check 4.19-cip-rt and 4.4-cip-rt. I suspect the task is a
bit bigger there if more or all of u64_stats should be missing.

Jan

[1] https://lore.kernel.org/stable-rt/CAMLffL-PTp+Y-rXsTFaC5cUJyMMiXk-Gjx59WiQvcTe46rXFrw@xxxxxxxxxxxxxx/T/#m67dce3408cac40318ae3dbe1c713b13621ac66c9

CC: Ahmed S. Darwish <a.darwish@xxxxxxxxxxxxx>
Cc: Eric Dumazet <edumazet@xxxxxxxxxx>
CC: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>

Ahmed S. Darwish (1):
u64_stats: Introduce u64_stats_set()

Sebastian Andrzej Siewior (1):
netfilter: nft_counter: Use u64_stats_t for statistic.

include/linux/u64_stats_sync.h | 10 +++++
net/netfilter/nft_counter.c | 78 +++++++++++++++++-----------------
2 files changed, 50 insertions(+), 38 deletions(-)

--
2.43.0