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 Latest11 patches 0 repliesApplied 11/11

Patches in v1 All 11 applied

#Subject and filesSizeRepliesApplied
1/11netfilter: x_tables: disable 32bit compat interface in user namespacesinclude/linux/netfilter/x_tables.h net/bridge/netfilter/ebtables.c net/ipv4/netfilter/arp_tables.c +2 more+33 -00 repliesApplied
2/11netfilter: add option for GCOV profilingnet/bridge/Makefile net/bridge/netfilter/Makefile net/ipv4/Makefile +9 more+62 -00 repliesApplied
3/11netfilter: allow nfnetlink built-in onlynet/netfilter/Kconfig net/netfilter/Makefile+2 -20 repliesApplied
4/11netfilter: nf_conncount: use per-rule hash initvalnet/netfilter/nf_conncount.c+3 -40 repliesApplied
5/11netfilter: ctnetlink: use nf_ct_exp_net() in expectation dumpnet/netfilter/nf_conntrack_netlink.c+1 -10 repliesApplied
6/11netfilter: nft_set_rbtree: remove dead conditionalnet/netfilter/nft_set_rbtree.c+0 -30 repliesApplied
7/11netfilter: nfnl_cthelper: apply per-class values when updating policiesnet/netfilter/nfnetlink_cthelper.c+2 -20 repliesApplied
8/11netfilter: nf_conntrack_irc: fix parse_dcc() off-by-one OOB readnet/netfilter/nf_conntrack_irc.c+3 -30 repliesApplied
9/11netfilter: nf_conntrack_proto_tcp: fix typos in commentsnet/netfilter/nf_conntrack_proto_tcp.c+4 -40 repliesApplied
10/11netfilter: nft_set_pipapo_avx2: restore performance optimizationnet/netfilter/nft_set_pipapo_avx2.c+14 -210 repliesApplied
11/11netfilter: nf_conntrack_ftp: avoid u16 overflowsnet/netfilter/nf_conntrack_ftp.c+7 -40 repliesApplied

Reviews trailers per patch

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

PatchJulian AnastasovFernando Fernandez ManceraStefano Brivio
1/11
2/11A-b
3/11R-b
4/11
5/11
6/11
7/11
8/11
9/11
10/11R-b
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH net-next 00/11] netfilter: updates for net-next

Hi,

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

1) Disable 32-bit x_tables compatibility (32bit binaries on 64bit kernel) interface in user namespaces. This is 'last warning' before this is removed for good.

2) Add a configuration toggle for netfilter GCOV profiling. Provide dedicated toggles for ipset and ipvs.

3) Remove modular support for nfnetlink and restrict it to built-in only. From Pablo Neira Ayuso.

4) Use per-rule hash initval in nf_conncount. This avoids unecessary lock contention with short keys (e.g. conntrack zones) in different namespaces.

5) Use nf_ct_exp_net() in ctnetlink expectation dumps. From Pratham Gupta.

6) Remove a dead conditional in nft_set_rbtree.

7) Fix conntrack helper policy updates to apply per-class values correctly. From David Carlier.

8) Fix an off-by-one OOB read in nf_conntrack_irc:parse_dcc(). Use strict less-than comparison in the newline search loop to respect the exclusive-end pointer convention. From Muhammad Bilal.

9) Fix typos in nf_conntrack_proto_tcp comments. From Avinash Duduskar.

10) Restore performance optimization in nft_set_pipapo_avx2 by passing the next map index. Refactor lookup logic for clarity and add a DEBUG_NET check to document this.

11) Avoid (harmless) u16 overflow in nf_conntrack_ftp when parsing FTP PORT and EPRT commands. Ignore commands where single octet exceeds 255. From Giuseppe Caruso.

Patch 12, which removes incorrect (and obviously unused) code from nft_byteorder was kept back to avoid a net -> net-next merge conflict.

Please, pull these changes from:
The following changes since commit c0aa5f13826dcb035bec3d6b252e6b2020fa5f88:

Merge branch 'net-dsa-microchip-remove-unnecessary-ksz_dev_ops-callbacks' (2026-05-22 18:40:51 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git nf-next-26-05-25

for you to fetch changes up to 2b413fc689ba890348db13a4daa5adf42846ebca:

netfilter: nf_conntrack_ftp: avoid u16 overflows (2026-05-25 20:00:04 +0200)

----------------------------------------------------------------
netfilter pull request nf-next-26-05-25

----------------------------------------------------------------
Avinash Duduskar (1):
netfilter: nf_conntrack_proto_tcp: fix typos in comments

David Carlier (1):
netfilter: nfnl_cthelper: apply per-class values when updating policies

Florian Westphal (5):
netfilter: x_tables: disable 32bit compat interface in user namespaces
netfilter: add option for GCOV profiling
netfilter: nf_conncount: use per-rule hash initval
netfilter: nft_set_rbtree: remove dead conditional
netfilter: nft_set_pipapo_avx2: restore performance optimization

Giuseppe Caruso (1):
netfilter: nf_conntrack_ftp: avoid u16 overflows

Muhammad Bilal (1):
netfilter: nf_conntrack_irc: fix parse_dcc() off-by-one OOB read

Pablo Neira Ayuso (1):
netfilter: allow nfnetlink built-in only

Pratham Gupta (1):
netfilter: ctnetlink: use nf_ct_exp_net() in expectation dump

 include/linux/netfilter/x_tables.h     | 17 +++++++++++++
 net/bridge/Makefile                    |  6 +++++
 net/bridge/netfilter/Makefile          |  4 +++
 net/bridge/netfilter/ebtables.c        |  4 +++
 net/ipv4/Makefile                      |  4 +++
 net/ipv4/netfilter/Makefile            |  4 +++
 net/ipv4/netfilter/arp_tables.c        |  4 +++
 net/ipv4/netfilter/ip_tables.c         |  4 +++
 net/ipv6/Makefile                      |  4 +++
 net/ipv6/netfilter/Makefile            |  4 +++
 net/ipv6/netfilter/ip6_tables.c        |  4 +++
 net/netfilter/Kconfig                  | 10 +++++++-
 net/netfilter/Makefile                 |  6 ++++-
 net/netfilter/ipset/Kconfig            |  9 +++++++
 net/netfilter/ipset/Makefile           |  3 +++
 net/netfilter/ipvs/Kconfig             |  9 +++++++
 net/netfilter/ipvs/Makefile            |  3 +++
 net/netfilter/nf_conncount.c           |  7 +++---
 net/netfilter/nf_conntrack_ftp.c       | 11 +++++---
 net/netfilter/nf_conntrack_irc.c       |  6 ++---
 net/netfilter/nf_conntrack_netlink.c   |  2 +-
 net/netfilter/nf_conntrack_proto_tcp.c |  8 +++---
 net/netfilter/nfnetlink_cthelper.c     |  4 +--
 net/netfilter/nft_set_pipapo_avx2.c    | 35 +++++++++++---------------
 net/netfilter/nft_set_rbtree.c         |  3 ---
 25 files changed, 131 insertions(+), 44 deletions(-)
Signature · 1 line
2.53.0