Netfilter/IPVS updates for net-next
Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 7 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | netfilter: ctnetlink: remove get_ct indirectioninclude/ net/ net/ +1 more | +15 | 0 replies | Applied |
| 2/7 | ipvs: add weighted random twos choice algorithmnet/ net/ net/ | +151 | 0 replies | Applied |
| 3/7 | netfilter: flowtable: add hash offset field to tupleinclude/ net/ | +7 | 0 replies | Applied |
| 4/7 | netfilter: nftables: add nft_parse_register_load() and use itinclude/ include/ include/ +22 more | +132 | 0 replies | Applied |
| 5/7 | netfilter: nftables: add nft_parse_register_store() and use itinclude/ include/ include/ +19 more | +100 | 0 replies | Applied |
| 6/7 | netfilter: nftables: statify nft_parse_register()include/ net/ | +1 | 0 replies | Applied |
| 7/7 | netfilter: nftables: remove redundant assignment of variable errnet/ | +1 | 0 replies | Applied |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Julian Anastasov | Simon Horman |
|---|---|---|
| 1/7 | ||
| 2/7 | A-b | A-b |
| 3/7 | ||
| 4/7 | ||
| 5/7 | ||
| 6/7 | ||
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/7] Netfilter/IPVS updates for net-next
Hi,
The following patchset contains Netfilter/IPVS updates for net-next:
1) Remove indirection and use nf_ct_get() instead from nfnetlink_log and nfnetlink_queue, from Florian Westphal.
2) Add weighted random twos choice least-connection scheduling for IPVS, from Darby Payne.
3) Add a __hash placeholder in the flow tuple structure to identify the field to be included in the rhashtable key hash calculation.
4) Add a new nft_parse_register_load() and nft_parse_register_store() to consolidate register load and store in the core.
5) Statify nft_parse_register() since it has no more module clients.
6) Remove redundant assignment in nft_cmp, from Colin Ian King.
Please, pull these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git
Thanks!
----------------------------------------------------------------
The following changes since commit a61e4b60761fa7fa2cfde6682760763537ce5549:
Merge branch 'net-dsa-hellcreek-add-taprio-offloading' (2021-01-23 21:25:18 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git HEAD
for you to fetch changes up to 626899a02e6afcd4b2ce5c0551092e3554cec4aa:
netfilter: nftables: remove redundant assignment of variable err (2021-02-06 02:43:07 +0100)
----------------------------------------------------------------
Colin Ian King (1):
netfilter: nftables: remove redundant assignment of variable err
Darby Payne (1):
ipvs: add weighted random twos choice algorithm
Florian Westphal (1):
netfilter: ctnetlink: remove get_ct indirection
Pablo Neira Ayuso (4):
netfilter: flowtable: add hash offset field to tuple
netfilter: nftables: add nft_parse_register_load() and use it
netfilter: nftables: add nft_parse_register_store() and use it
netfilter: nftables: statify nft_parse_register()
include/linux/netfilter.h | 2 - include/net/netfilter/nf_flow_table.h | 4 + include/net/netfilter/nf_tables.h | 11 ++- include/net/netfilter/nf_tables_core.h | 12 +-- include/net/netfilter/nft_fib.h | 2 +- include/net/netfilter/nft_meta.h | 4 +- net/bridge/netfilter/nft_meta_bridge.c | 5 +- net/ipv4/netfilter/nft_dup_ipv4.c | 18 ++--- net/ipv6/netfilter/nft_dup_ipv6.c | 18 ++--- net/netfilter/ipvs/Kconfig | 11 +++ net/netfilter/ipvs/Makefile | 1 + net/netfilter/ipvs/ip_vs_twos.c | 139 +++++++++++++++++++++++++++++++++ net/netfilter/nf_conntrack_netlink.c | 7 -- net/netfilter/nf_flow_table_core.c | 6 +- net/netfilter/nf_tables_api.c | 55 ++++++++++--- net/netfilter/nfnetlink_log.c | 8 +- net/netfilter/nfnetlink_queue.c | 10 ++- net/netfilter/nft_bitwise.c | 23 +++--- net/netfilter/nft_byteorder.c | 14 ++-- net/netfilter/nft_cmp.c | 12 +-- net/netfilter/nft_ct.c | 12 ++- net/netfilter/nft_dup_netdev.c | 6 +- net/netfilter/nft_dynset.c | 12 +-- net/netfilter/nft_exthdr.c | 14 ++-- net/netfilter/nft_fib.c | 5 +- net/netfilter/nft_fwd_netdev.c | 18 ++--- net/netfilter/nft_hash.c | 25 +++--- net/netfilter/nft_immediate.c | 6 +- net/netfilter/nft_lookup.c | 14 ++-- net/netfilter/nft_masq.c | 18 ++--- net/netfilter/nft_meta.c | 8 +- net/netfilter/nft_nat.c | 35 ++++----- net/netfilter/nft_numgen.c | 15 ++-- net/netfilter/nft_objref.c | 6 +- net/netfilter/nft_osf.c | 8 +- net/netfilter/nft_payload.c | 10 +-- net/netfilter/nft_queue.c | 12 +-- net/netfilter/nft_range.c | 6 +- net/netfilter/nft_redir.c | 18 ++--- net/netfilter/nft_rt.c | 7 +- net/netfilter/nft_socket.c | 7 +- net/netfilter/nft_tproxy.c | 14 ++-- net/netfilter/nft_tunnel.c | 8 +- net/netfilter/nft_xfrm.c | 7 +- 44 files changed, 406 insertions(+), 247 deletions(-) create mode 100644 net/netfilter/ipvs/ip_vs_twos.c