All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 nf 0/3] nft_set_pipapo: fix incorrect avx2 match of 5th field octet
@ 2025-04-07 17:40 Florian Westphal
  2025-04-07 17:40 ` [PATCH v3 nf 1/3] " Florian Westphal
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Florian Westphal @ 2025-04-07 17:40 UTC (permalink / raw)
  To: netfilter-devel; +Cc: sbrivio, Florian Westphal

Sontu Mazumdar reports incorrect matching in the pipapo set type.

1st patch fixes the reported issue.
2nd patch adds a test case.
3rd patch adds debug infrastructure (conditional for CONFIG_DEBUG_NET)
to add avx register tracking.

I checked that selftest passes with all three patches applied, that the
new selftest fails without the fix and that the register tracking added
in patch 1 also produces a WARN splat.

Changes since v2:
- reverse order, fix first, debug infra last
- fix and test are unchanged
- debug patch adds new 'last pass' to check that
  all registers were processed.

Florian Westphal (3):
  nft_set_pipapo: fix incorrect avx2 match of 5th field octet
  selftests: netfilter: add test case for recent mismatch bug
  nft_set_pipapo: add avx register usage tracking for NET_DEBUG builds

 net/netfilter/nft_set_pipapo_avx2.c           | 303 ++++++++++++++++--
 .../net/netfilter/nft_concat_range.sh         |  39 ++-
 2 files changed, 309 insertions(+), 33 deletions(-)
-- 
2.49.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-04-08 11:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-07 17:40 [PATCH v3 nf 0/3] nft_set_pipapo: fix incorrect avx2 match of 5th field octet Florian Westphal
2025-04-07 17:40 ` [PATCH v3 nf 1/3] " Florian Westphal
2025-04-07 17:40 ` [PATCH v3 nf 2/3] selftests: netfilter: add test case for recent mismatch bug Florian Westphal
2025-04-07 17:40 ` [PATCH v3 nf 3/3] nft_set_pipapo: add avx register usage tracking for NET_DEBUG builds Florian Westphal
2025-04-08  7:29   ` Stefano Brivio
2025-04-08  9:55     ` Florian Westphal
2025-04-08 11:41       ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.