aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-11-27 11:33:38 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2021-12-08 01:05:55 +0100
commit0de53b0ffb5b22b52c1e0bd4d9e18cbbce5801d0 (patch)
tree19736be61c5107a905586920e2b0696ad4b988a3 /net/netfilter
parentnft_set_pipapo: Fix bucket load in AVX2 lookup routine for six 8-bit groups (diff)
downloadlinux-dev-0de53b0ffb5b22b52c1e0bd4d9e18cbbce5801d0.tar.xz
linux-dev-0de53b0ffb5b22b52c1e0bd4d9e18cbbce5801d0.zip
selftests: netfilter: Add correctness test for mac,net set type
The existing net,mac test didn't cover the issue recently reported by Nikita Yushchenko, where MAC addresses wouldn't match if given as first field of a concatenated set with AVX2 and 8-bit groups, because there's a different code path covering the lookup of six 8-bit groups (MAC addresses) if that's the first field. Add a similar mac,net test, with MAC address and IPv4 address swapped in the set specification. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions