]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
netfilter: nft_set_pipapo: increment data in one step
authorFlorian Westphal <fw@strlen.de>
Tue, 17 Mar 2026 14:50:08 +0000 (15:50 +0100)
committerFlorian Westphal <fw@strlen.de>
Wed, 8 Apr 2026 05:51:31 +0000 (07:51 +0200)
commit04e1ca21a5e3f84595c546b481b7bc2b5c3c5fbd
treeccbd11fdaabaad7b98c435639d4c91fa824c5f2d
parent8e57338c3601d0cde806bd7e70c377109106c983
netfilter: nft_set_pipapo: increment data in one step

Since commit e807b13cb3e3 ("nft_set_pipapo: Generalise group size for buckets")
there is no longer a need to increment the data pointer in two steps.
Switch to a single invocation of NFT_PIPAPO_GROUPS_PADDED_SIZE() helper,
like the avx2 implementation.

[ Stefano: Improve commit message ]

Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
net/netfilter/nft_set_pipapo.c
net/netfilter/nft_set_pipapo.h