Skip to content

netfilter: updates for net-next

Florian Westphal netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9netfilter: Add ctx pointer in nf_flow_skb_encap_protocol/nf_flow_ip4_tunnel_proto signaturenet/netfilter/nf_flow_table_ip.c+12 -110 replies
2/9netfilter: Introduce tunnel metadata info in nf_flowtable_ctx structnet/netfilter/nf_flow_table_ip.c+25 -160 replies
3/9netfilter: flowtable: Add IP6IP6 rx sw accelerationnet/ipv6/ip6_tunnel.c net/netfilter/nf_flow_table_ip.c+97 -130 replies
4/9netfilter: flowtable: Add IP6IP6 tx sw accelerationnet/netfilter/nf_flow_table_ip.c+106 -20 replies
5/9selftests: netfilter: nft_flowtable.sh: Add IP6IP6 flowtable selftesttools/testing/selftests/net/netfilter/nft_flowtable.sh+53 -90 replies
6/9netfilter: xt_time: use is_leap_year() helpernet/netfilter/xt_time.c+2 -60 replies
7/9netfilter: nfnetlink_queue: optimize verdict lookup with hash tableinclude/net/netfilter/nf_queue.h net/netfilter/nfnetlink_queue.c+119 -300 replies
8/9netfilter: nfnetlink_queue: do shared-unconfirmed check before segmentationinclude/net/netfilter/nf_queue.h net/netfilter/nfnetlink_queue.c+69 -510 replies
9/9selftests: netfilter: nft_queue.sh: add udp fraglist gro test casetools/testing/selftests/net/netfilter/nft_queue.sh+136 -60 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchSimon Horman
1/9
2/9
3/9
4/9
5/9
6/9R-b
7/9
8/9
9/9

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/9] netfilter: updates for net-next

Hi,

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

Patches 1 to 4 add IP6IP6 tunneling acceleration to the flowtable infrastructure. Patch 5 extends test coverage for this. From Lorenzo Bianconi.

Patch 6 removes a duplicated helper from xt_time extension, we can use an existing helper for this, from Jinjie Ruan.

Patch 7 adds an rhashtable to nfnetink_queue to speed up out-of-order verdict processing. Before this list walk was required due to in-order design assumption.

Patch 8 fixes an esoteric packet-drop problem with UDPGRO and nfqueue added in v6.11. Patch 9 adds a test case for this.

Please, pull these changes from:
The following changes since commit 239f09e258b906deced5c2a7c1ac8aed301b558b:

selftests: ptp: treat unsupported PHC operations as skip (2026-01-27 17:57:28 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git nf-next-26-01-28

for you to fetch changes up to f0ba90068f33a2d18fa4cc848ea7477d489194bf:

selftests: netfilter: nft_queue.sh: add udp fraglist gro test case (2026-01-28 16:29:55 +0100)

----------------------------------------------------------------
netfilter pull request nf-next-26-01-28

----------------------------------------------------------------
Florian Westphal (2):
netfilter: nfnetlink_queue: do shared-unconfirmed check before segmentation
selftests: netfilter: nft_queue.sh: add udp fraglist gro test case

Jinjie Ruan (1):
netfilter: xt_time: use is_leap_year() helper

Lorenzo Bianconi (5):
netfilter: Add ctx pointer in nf_flow_skb_encap_protocol/nf_flow_ip4_tunnel_proto signature
netfilter: Introduce tunnel metadata info in nf_flowtable_ctx struct
netfilter: flowtable: Add IP6IP6 rx sw acceleration
netfilter: flowtable: Add IP6IP6 tx sw acceleration
selftests: netfilter: nft_flowtable.sh: Add IP6IP6 flowtable selftest

Scott Mitchell (1):
netfilter: nfnetlink_queue: optimize verdict lookup with hash table

 include/net/netfilter/nf_queue.h              |   4 +
 net/ipv6/ip6_tunnel.c                         |  27 ++
 net/netfilter/nf_flow_table_ip.c              | 243 +++++++++++++---
 net/netfilter/nfnetlink_queue.c               | 263 ++++++++++++------
 net/netfilter/xt_time.c                       |   8 +-
 .../selftests/net/netfilter/nft_flowtable.sh  |  62 ++++-
 .../selftests/net/netfilter/nft_queue.sh      | 142 +++++++++-
 7 files changed, 612 insertions(+), 137 deletions(-)
Signature · 1 line
2.52.0