Thread (7 messages) flat view 7 messages, 4 authors, 2021-12-08

Re: [PATCH nf 2/2] selftests: netfilter: Add correctness test for mac,net set type

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-11-27 11:24:49
Also in: netfilter-devel, stable

On Sat, Nov 27, 2021 at 11:33:38AM +0100, Stefano Brivio wrote:
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 <redacted>
---
 .../selftests/netfilter/nft_concat_range.sh   | 24 ++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)
<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read:
    https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help