Netfilter updates for net-next
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
Patches in v1 All 11 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | netfilter: synproxy: fix reset of ct seqadj when reopening a connectioninclude/ net/ net/ | +20 | 4 replies | Applied |
| 2/11 | netfilter: conntrack: fix nf_conntrack_expect_max default value in documentationDocumentation/ | +1 | 0 replies | Applied |
| 3/11 | netfilter: osf: remove unreachable break in nf_osf_ttl()net/ | +0 | 0 replies | Applied |
| 4/11 | netfilter: fix several typos in commentsnet/ net/ net/ +1 more | +4 | 0 replies | Applied |
| 5/11 | netfilter: conntrack: Untangle insert_failed counter from othersnet/ | +0 | 0 replies | Applied |
| 6/11 | netfilter: conntrack: Untangle drop and invalid countersnet/ | +2 | 0 replies | Applied |
| 7/11 | net/sched: act_ct: set net pointer before publishing flowtablenet/ | +1 | 0 replies | Applied |
| 8/11 | netfilter: flowtable: check namespace before iterating flowsnet/ | +7 | 0 replies | Applied |
| 9/11 | netfilter: nfnetlink: Fix for interrupted hook dumpsinclude/ net/ net/ +1 more | +73 | 0 replies | Applied |
| 10/11 | netfilter: ctnetlink: fix inverted IPv6 address match in dump filternet/ | +4 | 0 replies | Applied |
| 11/11 | netfilter: conntrack: make filtering by zone discoverableDocumentation/ include/ net/ +1 more | +117 | 0 replies | Applied |
Reviews trailers per patch
1 of 11 patches has a Reviewed-by or Acked-by.
| Patch | Xuanqiang Luo |
|---|---|
| 1/11 | |
| 2/11 | |
| 3/11 | |
| 4/11 | |
| 5/11 | |
| 6/11 | |
| 7/11 | R-b |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 00/11] Netfilter updates for net-next
Hi,
The following patchset contains Netfilter updates for net-next. The fixes included in this batch are deemed to handle correctness issues present in the Netfilter tree:
1) TCP sequence tracking is not reset inconditionally by synproxy when recycling an entry, sashiko reports the zero offset case skips it. Add a new function to inconditionally reset TCP sequence tracking. From Fernando F. Mancera.
2) Update documentation to reflect that the default maximum number of expectations (nf_conntrack_expect_max) is nf_conntrack_buckets / 64. From Shaojie Sun.
3) Remove useless break; after return in nft_osf, from Linkui Xiao.
4) Fix typos in comments in the netfilter tree, from Hemanth Selam.
5) Remove a few conntrack error stats duplicated updates, from Phil Sutter.
6) Do not bump invalid and drop conntrack error stats when packet is dropped, this is another duplicate. also From Phil.
7) Set on netns pointer before registering the flowtable, this is a requirement by the next patch, not fixing an existing issue. From Qingfang Deng.
8) Remove unnecessary workqueue work flush for all of the existing netns when device is gone. Also from Qingfang Deng.
9) Rework-fix nfnetlink_hook to correctly deal with large netlink dumps. Use sequence numbers to detect interference with hook updates while netlink dump is ongoing. From Phil Sutter.
10) Fix ctnetlink dump filtering by the IPv6 address, this has only work correctly for IPv4 this far, from Piotr Kubik.
11) ctnetlink filtering by zone is supported, but the ctnetlink dump filtering infrastructure was never updated to include a flag from userspace, update it to fill this gap. From Ilya Maximets.
Please, pull these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git nf-next-26-09-28
Thanks.
----------------------------------------------------------------
The following changes since commit 014d795c73837ea2339a4ea8e8f82c6e959b845d:
idpf: fix kernel-doc parameter descriptions (2026-09-25 18:26:50 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git nf-next-26-09-28
for you to fetch changes up to 46da6029bf468ce3c426cb8b4abf96976ed9d4c8:
netfilter: conntrack: make filtering by zone discoverable (2026-09-27 23:39:21 +0200)
----------------------------------------------------------------
netfilter pull request 26-09-28
----------------------------------------------------------------
Fernando Fernandez Mancera (1):
netfilter: synproxy: fix reset of ct seqadj when reopening a connection
Hemanth Selam (1):
netfilter: fix several typos in comments
Ilya Maximets (1):
netfilter: conntrack: make filtering by zone discoverable
Linkui Xiao (1):
netfilter: osf: remove unreachable break in nf_osf_ttl()
Phil Sutter (3):
netfilter: conntrack: Untangle insert_failed counter from others
netfilter: conntrack: Untangle drop and invalid counters
netfilter: nfnetlink: Fix for interrupted hook dumps
Piotr Kubik (1):
netfilter: ctnetlink: fix inverted IPv6 address match in dump filter
Qingfang Deng (2):
net/sched: act_ct: set net pointer before publishing flowtable
netfilter: flowtable: check namespace before iterating flows
Shaojie Sun (1):
netfilter: conntrack: fix nf_conntrack_expect_max default value in documentation
Documentation/netlink/specs/conntrack.yaml | 6 + Documentation/networking/nf_conntrack-sysctl.rst | 2 +- include/net/netfilter/nf_conntrack_seqadj.h | 1 + include/net/netns/netfilter.h | 2 + include/uapi/linux/netfilter/nfnetlink_conntrack.h | 1 + net/ipv4/netfilter/arp_tables.c | 2 +- net/netfilter/core.c | 18 ++- net/netfilter/ipset/ip_set_core.c | 2 +- net/netfilter/ipvs/ip_vs_sync.c | 2 +- net/netfilter/nf_conntrack_core.c | 5 +- net/netfilter/nf_conntrack_netlink.c | 19 ++- net/netfilter/nf_conntrack_seqadj.c | 17 +++ net/netfilter/nf_flow_table_core.c | 17 +-- net/netfilter/nf_nat_core.c | 11 ++ net/netfilter/nf_synproxy_core.c | 4 +- net/netfilter/nfnetlink_hook.c | 74 ++++++----- net/netfilter/nfnetlink_osf.c | 1 - net/sched/act_ct.c | 2 +- .../selftests/net/netfilter/conntrack_dump_flush.c | 145 ++++++++++++++------- .../net/netfilter/conntrack_icmp_related.sh | 2 +- 20 files changed, 229 insertions(+), 104 deletions(-)