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 12 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | netfilter: nfnetlink_hook: Dump nat type chainsinclude/ net/ net/ +1 more | +48 | 0 replies | Applied |
| 2/12 | netfilter: x_tables: replace strlcat() with snprintf()net/ | +11 | 0 replies | Applied |
| 3/12 | netfilter: replace u_int8_t and u_int16t with u8 and u16include/ net/ net/ +2 more | +8 | 0 replies | Applied |
| 4/12 | netfilter: avoid strcpy usagenet/ net/ | +2 | 0 replies | Applied |
| 5/12 | netfilter: remove redundant null check before kvfree()net/ | +1 | 0 replies | Applied |
| 6/12 | netfilter: xt_tcpmss: add checkentry for parameter validationnet/ | +13 | 0 replies | Applied |
| 7/12 | netfilter: xt_dscp: add checkentry for tos matchnet/ | +12 | 0 replies | Applied |
| 8/12 | netfilter: nf_conntrack_helper: do not hash by tuplenet/ | +31 | 0 replies | Applied |
| 9/12 | netfilter: conntrack: get rid of tuple in helper definitionsinclude/ net/ net/ +3 more | +29 | 0 replies | Applied |
| 10/12 | netfilter: conntrack: remove obsolete module parametersinclude/ include/ include/ +14 more | +59 | 0 replies | Applied |
| 11/12 | netfilter: ebtables: bound num_counters like nentries in do_replace()net/ | +6 | 0 replies | Applied |
| 12/12 | netfilter: nft_ct: support expectation creation for natted flowsnet/ | +35 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 00/12] netfilter: updates for net-next
Hi,
The following patchset contains Netfilter updates for *net-next*.
1) Update nfnetlink_hook to dump the individual NAT type chains instead of the nat base chains to userspace. From Phil Sutter.
2) Replace strlcpy/strlcat() with snprintf() in x_tables, from Ian Bridges.
3) Start replacing u_int8_t and u_int16t with u8 and u16 in netfilter. From Carlos Grillet.
4) Replace strcpy() with strscpy() in netfilter, from David Laight.
5) Remove redundant NULL check before kvfree().
6) Add parameter validation to xt_tcpmss. Ensure mss_min <= mss_max and invert <= 1. From Feng Wu.
7) Add checkentry for xt_dscp 'tos' match. Implement tos_mt_check() to reject invalid invert values. Also from Feng Wu.
8) Stop hashing nf_conntrack_helper by tuple. Switch to hashing by name and L4 protocol.
9) Remove tuples from conntrack helper definitions and port usage from broadcast helpers. Add netlink policy validation to prevent protocol number truncation.
10) Remove obsolete netfilter conntrack module parameters.
11) Bound num_counters in ebtables: do_replace() by MAX_EBT_ENTRIES to prevent oversized vmalloc_array() allocations. From Jiayuan Chen.
12) Make expectations created via nft_ct rules work with NAT.
Please, pull these changes from:
The following changes since commit b8ea7da314c2efcb9c2f559ed65b7a36c869d68e:
net: dsa: qca8k: fall back to ethernet-ports node name for LEDs (2026-07-02 11:48:25 +0200)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git tags/nf-next-26-07-02
for you to fetch changes up to d4beefc90a66672e43fdf82b43e4b3c0b1b18c5e:
netfilter: nft_ct: support expectation creation for natted flows (2026-07-02 12:17:14 +0200)
----------------------------------------------------------------
netfilter pull request nf-next-26-07-02
----------------------------------------------------------------
Carlos Grillet (1):
netfilter: replace u_int8_t and u_int16t with u8 and u16
David Laight (1):
netfilter: avoid strcpy usage
Feng Wu (2):
netfilter: xt_tcpmss: add checkentry for parameter validation
netfilter: xt_dscp: add checkentry for tos match
Florian Westphal (4):
netfilter: nf_conntrack_helper: do not hash by tuple
netfilter: conntrack: get rid of tuple in helper definitions
netfilter: conntrack: remove obsolete module parameters
netfilter: nft_ct: support expectation creation for natted flows
Ian Bridges (1):
netfilter: x_tables: replace strlcat() with snprintf()
Jiayuan Chen (1):
netfilter: ebtables: bound num_counters like nentries in do_replace()
Phil Sutter (1):
netfilter: nfnetlink_hook: Dump nat type chains
Subasri S (1):
netfilter: remove redundant null check before kvfree()
include/linux/netfilter.h | 7 ++ include/linux/netfilter/nf_conntrack_h323.h | 2 - include/linux/netfilter/nf_conntrack_pptp.h | 2 - include/linux/netfilter/nf_conntrack_sane.h | 2 - include/linux/netfilter/nf_conntrack_tftp.h | 2 - include/net/ip_vs.h | 2 +- include/net/netfilter/nf_conntrack_helper.h | 10 ++- net/bridge/netfilter/ebtables.c | 12 ++-- net/ipv4/netfilter/nf_nat_snmp_basic_main.c | 2 +- net/netfilter/ipvs/ip_vs_nfct.c | 2 +- net/netfilter/nf_conntrack_amanda.c | 6 +- net/netfilter/nf_conntrack_broadcast.c | 2 - net/netfilter/nf_conntrack_ftp.c | 32 +++------ net/netfilter/nf_conntrack_h323_main.c | 12 ++-- net/netfilter/nf_conntrack_helper.c | 77 +++++++++------------ net/netfilter/nf_conntrack_irc.c | 27 +++----- net/netfilter/nf_conntrack_netbios_ns.c | 2 - net/netfilter/nf_conntrack_ovs.c | 6 +- net/netfilter/nf_conntrack_pptp.c | 2 +- net/netfilter/nf_conntrack_sane.c | 34 +++------ net/netfilter/nf_conntrack_sip.c | 45 ++++-------- net/netfilter/nf_conntrack_snmp.c | 4 +- net/netfilter/nf_conntrack_tftp.c | 33 +++------ net/netfilter/nf_nat_core.c | 6 -- net/netfilter/nf_nat_proto.c | 8 +++ net/netfilter/nfnetlink_cthelper.c | 21 +++--- net/netfilter/nfnetlink_cttimeout.c | 2 +- net/netfilter/nfnetlink_hook.c | 37 ++++++++-- net/netfilter/nft_ct.c | 35 ++++++++++ net/netfilter/nft_set_rbtree.c | 3 +- net/netfilter/x_tables.c | 30 +++----- net/netfilter/xt_TCPOPTSTRIP.c | 8 +-- net/netfilter/xt_dscp.c | 12 ++++ net/netfilter/xt_recent.c | 2 +- net/netfilter/xt_tcpmss.c | 13 ++++ net/sched/act_ct.c | 4 +- 36 files changed, 246 insertions(+), 260 deletions(-)
Signature · 1 line
2.54.0