diff options
author | 2025-05-23 14:20:46 +0200 | |
---|---|---|
committer | 2025-06-05 10:50:05 +0200 | |
commit | 38399f2b0fe4d44226bfb7eba9e137251c8b2571 (patch) | |
tree | 7ce0e7ef0bb42eb4867a78a436e129d461685083 /scripts/gdb/linux/utils.py | |
parent | selftests: netfilter: nft_concat_range.sh: prefer per element counters for testing (diff) | |
download | wireguard-linux-38399f2b0fe4d44226bfb7eba9e137251c8b2571.tar.xz wireguard-linux-38399f2b0fe4d44226bfb7eba9e137251c8b2571.zip |
selftests: netfilter: nft_concat_range.sh: add datapath check for map fill bug
commit 0935ee6032df ("selftests: netfilter: add test case for recent mismatch bug")
added a regression check for incorrect initial fill of the result map
that was fixed with 791a615b7ad2 ("netfilter: nf_set_pipapo: fix initial map fill").
The test used 'nft get element', i.e., control plane checks for
match/nomatch results.
The control plane however doesn't use avx2 version, so we need to
send+match packets.
As the additional packet match/nomatch is slow, don't do this for
every element added/removed: add and use maybe_send_(no)match
helpers and use them.
Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions