Skip to content

netfilter: updates for net-next

Florian Westphal netdev netfilter-devel 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 8 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6netfilter: ctnetlink: remove refcounting in dying list dumpingnet/netfilter/nf_conntrack_netlink.c+10 -290 repliesApplied
2/6netfilter: nft_set_pipapo_avx2: Drop the comment regarding protectionnet/netfilter/nft_set_pipapo_avx2.c+1 -30 repliesApplied
3/6netfilter: nft_set_pipapo_avx2: split lookup function in two partsnet/netfilter/nft_set_pipapo_avx2.c+77 -490 repliesApplied
4/6netfilter: nft_set_pipapo: use avx2 algorithm for insertions toonet/netfilter/nft_set_pipapo.c net/netfilter/nft_set_pipapo_avx2.c net/netfilter/nft_set_pipapo_avx2.h+48 -91 replyApplied
5/6netfilter: nft_set_pipapo: Store real pointer, adjust later.net/netfilter/nft_set_pipapo.c net/netfilter/nft_set_pipapo.h net/netfilter/nft_set_pipapo_avx2.c+14 -407 repliesApplied
6/6netfilter: nft_set_pipapo: Use nested-BH locking for nft_pipapo_scratchnet/netfilter/nft_set_pipapo.c net/netfilter/nft_set_pipapo.h net/netfilter/nft_set_pipapo_avx2.c+11 -00 repliesApplied

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchStefano Brivio
1/6
2/6
3/6R-b
4/6R-b
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/6] netfilter: updates for net-next

Hi,

The following patchset contains Netfilter enhancements for *net-next*:

First patch gets rid of refcounting for dying list dumping, use a cookie value instead of keeping the object around.

Remaining patches extend nftables pipapo (concatenated ranges) set type.

Make the AVX2 optimized version available from the control plane as well, then use it during insert. This gives a nice speedup for large sets. All from myself.

On PREEMPT_RT, we can't rely on local_bh_disable to protect the access to the percpu scratch maps. Use nested-BH locking for this, From Sebastian Siewior.

Please, pull these changes from:
The following changes since commit 5c69e0b395c1ffb37fd6fbdbd428353fc0894005:

Merge branch 'stmmac-stop-silently-dropping-bad-checksum-packets' (2025-08-19 18:33:09 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git tags/nf-next-25-08-20

for you to fetch changes up to 456010c8b99e65231160d4c706122ac5502fbcff:

netfilter: nft_set_pipapo: Use nested-BH locking for nft_pipapo_scratch (2025-08-20 13:52:37 +0200)

----------------------------------------------------------------
netfilter pull request nf-next-25-08-20

----------------------------------------------------------------
Florian Westphal (3):
netfilter: ctnetlink: remove refcounting in dying list dumping
netfilter: nft_set_pipapo_avx2: split lookup function in two parts
netfilter: nft_set_pipapo: use avx2 algorithm for insertions too

Sebastian Andrzej Siewior (3):
netfilter: nft_set_pipapo_avx2: Drop the comment regarding protection
netfilter: nft_set_pipapo: Store real pointer, adjust later.
netfilter: nft_set_pipapo: Use nested-BH locking for nft_pipapo_scratch

 net/netfilter/nf_conntrack_netlink.c |  39 ++------
 net/netfilter/nft_set_pipapo.c       |  90 ++++++++++-------
 net/netfilter/nft_set_pipapo.h       |   8 +-
 net/netfilter/nft_set_pipapo_avx2.c  | 138 ++++++++++++++++-----------
 net/netfilter/nft_set_pipapo_avx2.h  |   4 +
 5 files changed, 155 insertions(+), 124 deletions(-)
Signature · 1 line
2.49.1