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 14 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | ipv6: export fib6_lookup for nft_fib_ipv6net/ net/ | +6 | 0 replies | Applied |
| 2/14 | ipv6: make ipv6_anycast_destination logic usable without dst_entryinclude/ | +11 | 0 replies | Applied |
| 3/14 | netfilter: nft_fib_ipv6: switch to fib6_lookupnet/ | +49 | 0 replies | Applied |
| 4/14 | netfilter: nf_log_syslog: no longer acquire sk_callback_lock in nf_log_dump_sk_uid_gid()net/ | +12 | 0 replies | Applied |
| 5/14 | netfilter: xt_owner: no longer acquire sk_callback_lock in mt_owner()net/ | +14 | 0 replies | Applied |
| 6/14 | netfilter: nft_meta: no longer acquire sk_callback_lock in nft_meta_get_eval_skugid()net/ | +13 | 0 replies | Applied |
| 7/14 | netfilter: nfnetlink_log: no longer acquire sk_callback_locknet/ | +13 | 0 replies | Applied |
| 8/14 | netfilter: nfnetlink_queue: no longer acquire sk_callback_locknet/ | +12 | 0 replies | Applied |
| 9/14 | netfilter: nfnetlink_queue: remove locking in nfqnl_get_sk_secctxnet/ | +0 | 0 replies | Applied |
| 10/14 | rculist_bl: add hlist_bl_for_each_entry_continue_rcuinclude/ | +40 | 0 replies | Applied |
| 11/14 | ipvs: add resizable hash tablesinclude/ net/ net/ | +377 | 0 replies | Applied |
| 12/14 | ipvs: use resizable hash table for servicesinclude/ net/ | +593 | 0 replies | Applied |
| 13/14 | ipvs: switch to per-net connection tableinclude/ net/ net/ +2 more | +667 | 0 replies | Applied |
| 14/14 | ipvs: use more keys for connection hashinginclude/ net/ | +275 | 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/14] netfilter: updates for net-next
Hi,
The following patchset contains Netfilter updates for *net-next*, including changes to IPv6 stack and updates to IPVS from Julian Anastasov.
1) ipv6: export fib6_lookup for nft_fib_ipv6 module
2) factor out ipv6_anycast_destination logic so its usable without dst_entry. These are dependencies for patch 3.
3) switch nft_fib_ipv6 module to no longer need temporary dst_entry object allocations by using fib6_lookup() + RCU.
This gets us ~13% higher packet rate in my tests.
Patches 4 to 8, from Eric Dumazet, zap sk_callback_lock usage in netfilter. Patch 9 removes another sk_callback_lock instance.
Remaining patches, from Julian Anastasov, improve IPVS, Quoting Julian:
* Add infrastructure for resizable hash tables based on hlist_bl.
* Change the 256-bucket service hash table to be resizable.
* Change the global connection table to be per-net and resizable.
* Make connection hashing more secure for setups with multiple services.
Please, pull these changes from:
The following changes since commit 4ad96a7c9e2cebbbdc68369438a736a133539f1d:
selftests: net: add macvlan multicast test for shared source MAC (2026-03-03 18:08:13 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git tags/nf-next-26-03-04
for you to fetch changes up to f20c73b0460d15301cf1bddf0f85d060a38a75df:
ipvs: use more keys for connection hashing (2026-03-04 11:45:45 +0100)
----------------------------------------------------------------
netfilter pull request nf-next-26-03-04
----------------------------------------------------------------
Eric Dumazet (5):
netfilter: nf_log_syslog: no longer acquire sk_callback_lock in
nf_log_dump_sk_uid_gid()
netfilter: xt_owner: no longer acquire sk_callback_lock in mt_owner()
netfilter: nft_meta: no longer acquire sk_callback_lock in
nft_meta_get_eval_skugid()
netfilter: nfnetlink_log: no longer acquire sk_callback_lock
netfilter: nfnetlink_queue: no longer acquire sk_callback_lock
Florian Westphal (4):
ipv6: export fib6_lookup for nft_fib_ipv6
ipv6: make ipv6_anycast_destination logic usable without dst_entry
netfilter: nft_fib_ipv6: switch to fib6_lookup
netfilter: nfnetlink_queue: remove locking in nfqnl_get_sk_secctx
Julian Anastasov (5):
rculist_bl: add hlist_bl_for_each_entry_continue_rcu
ipvs: add resizable hash tables
ipvs: use resizable hash table for services
ipvs: switch to per-net connection table
ipvs: use more keys for connection hashing
include/linux/rculist_bl.h | 49 +- include/net/ip6_route.h | 15 +- include/net/ip_vs.h | 377 ++++++++++-- net/ipv6/fib6_rules.c | 3 + net/ipv6/ip6_fib.c | 3 + net/ipv6/netfilter/nft_fib_ipv6.c | 79 ++- net/netfilter/ipvs/ip_vs_conn.c | 991 ++++++++++++++++++++++-------- net/netfilter/ipvs/ip_vs_core.c | 179 ++++++ net/netfilter/ipvs/ip_vs_ctl.c | 691 +++++++++++++++++---- net/netfilter/ipvs/ip_vs_pe_sip.c | 4 +- net/netfilter/ipvs/ip_vs_sync.c | 23 + net/netfilter/nf_log_syslog.c | 16 +- net/netfilter/nfnetlink_log.c | 19 +- net/netfilter/nfnetlink_queue.c | 24 +- net/netfilter/nft_meta.c | 23 +- net/netfilter/xt_owner.c | 28 +- 16 files changed, 2011 insertions(+), 513 deletions(-)
Signature · 1 line
2.52.0