Netfilter/IPVS fixes for net
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | netfilter: ipset: do not update comments from kernel-side addsnet/ | +1 | 0 replies | |
| 2/11 | ipvs: fix buffer overflow when sending sync messagesnet/ | +14 | 5 replies | |
| 3/11 | netfilter: nft_flow_offload: drop flowtable reference on init error pathnet/ | +6 | 0 replies | |
| 4/11 | ipvs: fix missing counter decrement in lblcnet/ | +1 | 0 replies | |
| 5/11 | ipvs: bound LBLCR and LBLC cache growthnet/ net/ | +6 | 0 replies | |
| 6/11 | ipvs: do not create invisible templatesnet/ | +3 | 0 replies | |
| 7/11 | ipvs: filter some flags received in the backup servernet/ | +30 | 1 reply | |
| 8/11 | netfilter: nft_set_rbtree: skip transaction elements during GCnet/ | +2 | 0 replies | |
| 9/11 | netfilter: bpf: reject invalid NAT manipulation typesnet/ net/ | +6 | 0 replies | |
| 10/11 | netfilter: flowtable: generalize pending status bitinclude/ net/ net/ +1 more | +13 | 0 replies | |
| 11/11 | netfilter: flowtable: restore ieee80211 forward pathinclude/ net/ net/ | +13 | 0 replies |
Reviews trailers per patch
1 of 11 patches has a Reviewed-by or Acked-by.
| Patch | Julian Anastasov |
|---|---|
| 1/11 | |
| 2/11 | |
| 3/11 | |
| 4/11 | |
| 5/11 | A-b |
| 6/11 | |
| 7/11 | |
| 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 00/11] Netfilter/IPVS fixes for net
Hi,
The following batch contains Netfilter fixes for net:
1) Expand existing ipset fix for bitmap sets to disallow comments updates from kernel-side adds, from Florian Westphal.
2) Drop flowtable reference if nf_ct_netns_get() fails, otherwise flowtable cannot ever be removed, from Aohan Mei.
3) nft_rbtree GC should collect end elements that contained in this transaction batch, new or deleted elements are never expired. From Weiming Shi.
4) Restrict nf_nat_bpf so it does not set unknown NF_NAT_MANIP_* values, from Fernando F. Mancera.
5) Flowtable GC must skip flows that are pending hardware updates, generalize the PENDING flag and use it to inhibit GC.
6) Restore flowtable with ieee80211 which broke due to a relatively recent commit, which was pulled in by -stable, causing a regression in 6.18 kernels.
And the following IPVS fixes:
1) Prevent buffer overflow in IPVS sync reported by sashiko, it should only be reproducible on very old 2.6.x kernels, from Julian Anastasov.
2) Fix accounting of cache entries in IPVS LBLC for destinations, from Julian Anastasov.
3) Limit IPVS cache growth for LBLCR and LBLC schedulers, from Zhiling Zou.
4) Restrict IP_VS_CONN_F_ONE_PACKET for normal connections, do not allow to use it with templates. Also from Julian.
5) Sanitize flags in IPVS sync messages received in the backup. From Julian Anastasov.
Please, pull these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-26-09-27
Thanks.
----------------------------------------------------------------
The following changes since commit 9c572a83037a7dcd653ba3a9cc468c16b857d0c9:
net/sched: fix potential stack infoleak in em_text_dump() (2026-09-22 19:14:25 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-26-09-27
for you to fetch changes up to 5957f55e476000330f59193b607abcfc0e89d18a:
netfilter: flowtable: restore ieee80211 forward path (2026-09-27 22:46:56 +0200)
----------------------------------------------------------------
netfilter pull request 26-09-27
----------------------------------------------------------------
Aohan Mei (1):
netfilter: nft_flow_offload: drop flowtable reference on init error path
Fernando Fernandez Mancera (1):
netfilter: bpf: reject invalid NAT manipulation types
Florian Westphal (1):
netfilter: ipset: do not update comments from kernel-side adds
Julian Anastasov (4):
ipvs: fix buffer overflow when sending sync messages
ipvs: fix missing counter decrement in lblc
ipvs: do not create invisible templates
ipvs: filter some flags received in the backup server
Pablo Neira Ayuso (2):
netfilter: flowtable: generalize pending status bit
netfilter: flowtable: restore ieee80211 forward path
Weiming Shi (1):
netfilter: nft_set_rbtree: skip transaction elements during GC
Zhiling Zou (1):
ipvs: bound LBLCR and LBLC cache growth
include/linux/netdevice.h | 3 ++ include/net/netfilter/nf_flow_table.h | 2 +- net/mac80211/iface.c | 7 +++++ net/netfilter/ipset/ip_set_bitmap_gen.h | 2 +- net/netfilter/ipvs/ip_vs_conn.c | 3 ++ net/netfilter/ipvs/ip_vs_lblc.c | 4 +++ net/netfilter/ipvs/ip_vs_lblcr.c | 3 ++ net/netfilter/ipvs/ip_vs_sync.c | 56 ++++++++++++++++++++++++++------- net/netfilter/nf_flow_table_core.c | 7 ++++- net/netfilter/nf_flow_table_offload.c | 14 +++------ net/netfilter/nf_flow_table_path.c | 3 ++ net/netfilter/nf_nat_bpf.c | 3 ++ net/netfilter/nf_nat_core.c | 5 +-- net/netfilter/nft_flow_offload.c | 7 ++++- net/netfilter/nft_set_rbtree.c | 2 ++ net/sched/act_ct.c | 2 +- 16 files changed, 95 insertions(+), 28 deletions(-)