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: Stefano Brivio <hidden>
Date: 2021-11-27 12:45:08
Also in: netfilter-devel, stable

Hi Greg,

On Sat, 27 Nov 2021 12:22:39 +0100
Greg KH [off-list ref] wrote:
On Sat, Nov 27, 2021 at 11:33:38AM +0100, Stefano Brivio wrote:
quoted
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>
This patch (2/2) is not intended for the stable kernel tree, only patch
1/2 is. I Cc'ed stable@kernel.org on the whole series for context.

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