summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-11-27 13:33:38 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2021-12-08 03:05:55 +0300
commit0de53b0ffb5b22b52c1e0bd4d9e18cbbce5801d0 (patch)
tree19736be61c5107a905586920e2b0696ad4b988a3 /net
parentb7e945e228d7df1b1473ef6fd2cdec67433065fb (diff)
downloadlinux-0de53b0ffb5b22b52c1e0bd4d9e18cbbce5801d0.tar.xz
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')
0 files changed, 0 insertions, 0 deletions