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

Jan Kiszka <[email protected]> Fri, 21 Feb 2025 18:44:24 +0100
Newsgroups org.kernel.vger.stable-rt,org.kernel.vger.linux-kernel,org.kernel.vger.linux-rt-users
Message-ID <[email protected]>
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@mail.gmail.com/T/#m67dce3408cac40318ae3dbe1c713b13621ac66c9

CC: Ahmed S. Darwish <[email protected]>
Cc: Eric Dumazet <[email protected]>
CC: Sebastian Andrzej Siewior <[email protected]>

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