From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netfilter-devel@vger.kernel.org
Cc: davem@davemloft.net, netdev@vger.kernel.org, kuba@kernel.org
Subject: [PATCH net-next 00/22] Netfilter updates for net-next
Date: Mon, 26 Apr 2021 19:10:34 +0200 [thread overview]
Message-ID: <20210426171056.345271-1-pablo@netfilter.org> (raw)
Hi,
The following patchset contains Netfilter updates for net-next:
1) The various ip(6)table_foo incarnations are updated to expect
that the table is passed as 'void *priv' argument that netfilter core
passes to the hook functions. This reduces the struct net size by 2
cachelines on x86_64. From Florian Westphal.
2) Add cgroupsv2 support for nftables.
3) Fix bridge log family merge into nf_log_syslog: Missing
unregistration from netns exit path, from Phil Sutter.
4) Add nft_pernet() helper to access nftables pernet area.
5) Add struct nfnl_info to reduce nfnetlink callback footprint and
to facilite future updates. Consolidate nfnetlink callbacks.
6) Add CONFIG_NETFILTER_XTABLES_COMPAT Kconfig knob, also from Florian.
Please, pull these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git
Thanks!
----------------------------------------------------------------
The following changes since commit b2f0ca00e6b34bd57c9298a869ea133699e8ec39:
phy: nxp-c45-tja11xx: add interrupt support (2021-04-23 14:13:16 -0700)
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 47a6959fa331fe892a4fc3b48ca08e92045c6bda:
netfilter: allow to turn off xtables compat layer (2021-04-26 18:16:56 +0200)
----------------------------------------------------------------
Florian Westphal (15):
netfilter: nat: move nf_xfrm_me_harder to where it is used
netfilter: disable defrag once its no longer needed
netfilter: ebtables: remove the 3 ebtables pointers from struct net
netfilter: x_tables: remove ipt_unregister_table
netfilter: x_tables: add xt_find_table
netfilter: iptables: unregister the tables by name
netfilter: ip6tables: unregister the tables by name
netfilter: arptables: unregister the tables by name
netfilter: x_tables: remove paranoia tests
netfilter: xt_nat: pass table to hookfn
netfilter: ip_tables: pass table pointer via nf_hook_ops
netfilter: arp_tables: pass table pointer via nf_hook_ops
netfilter: ip6_tables: pass table pointer via nf_hook_ops
netfilter: remove all xt_table anchors from struct net
netfilter: allow to turn off xtables compat layer
Pablo Neira Ayuso (6):
netfilter: nft_socket: add support for cgroupsv2
netfilter: nftables: add nft_pernet() helper function
netfilter: nfnetlink: add struct nfnl_info and pass it to callbacks
netfilter: nfnetlink: pass struct nfnl_info to rcu callbacks
netfilter: nfnetlink: pass struct nfnl_info to batch callbacks
netfilter: nfnetlink: consolidate callback types
Phil Sutter (1):
netfilter: nf_log_syslog: Unset bridge logger in pernet exit
include/linux/netfilter/nfnetlink.h | 33 +-
include/linux/netfilter/x_tables.h | 16 +-
include/linux/netfilter_arp/arp_tables.h | 8 +-
include/linux/netfilter_bridge/ebtables.h | 9 +-
include/linux/netfilter_ipv4/ip_tables.h | 11 +-
include/linux/netfilter_ipv6/ip6_tables.h | 11 +-
include/net/netfilter/ipv4/nf_defrag_ipv4.h | 3 +-
include/net/netfilter/ipv6/nf_defrag_ipv6.h | 3 +-
include/net/netfilter/nf_nat.h | 2 -
include/net/netfilter/nf_tables.h | 8 +
include/net/netns/ipv4.h | 10 -
include/net/netns/ipv6.h | 9 -
include/net/netns/x_tables.h | 8 -
include/uapi/linux/netfilter/nf_tables.h | 4 +
net/bridge/netfilter/ebt_limit.c | 4 +-
net/bridge/netfilter/ebt_mark.c | 4 +-
net/bridge/netfilter/ebt_mark_m.c | 4 +-
net/bridge/netfilter/ebtable_broute.c | 10 +-
net/bridge/netfilter/ebtable_filter.c | 26 +-
net/bridge/netfilter/ebtable_nat.c | 27 +-
net/bridge/netfilter/ebtables.c | 54 ++-
net/ipv4/netfilter/arp_tables.c | 73 +--
net/ipv4/netfilter/arptable_filter.c | 17 +-
net/ipv4/netfilter/ip_tables.c | 86 ++--
net/ipv4/netfilter/ipt_CLUSTERIP.c | 8 +-
net/ipv4/netfilter/iptable_filter.c | 17 +-
net/ipv4/netfilter/iptable_mangle.c | 23 +-
net/ipv4/netfilter/iptable_nat.c | 59 ++-
net/ipv4/netfilter/iptable_raw.c | 17 +-
net/ipv4/netfilter/iptable_security.c | 17 +-
net/ipv4/netfilter/nf_defrag_ipv4.c | 30 +-
net/ipv6/netfilter/ip6_tables.c | 84 ++--
net/ipv6/netfilter/ip6table_filter.c | 17 +-
net/ipv6/netfilter/ip6table_mangle.c | 24 +-
net/ipv6/netfilter/ip6table_nat.c | 58 ++-
net/ipv6/netfilter/ip6table_raw.c | 17 +-
net/ipv6/netfilter/ip6table_security.c | 17 +-
net/ipv6/netfilter/nf_defrag_ipv6_hooks.c | 29 +-
net/netfilter/Kconfig | 10 +
net/netfilter/ipset/ip_set_core.c | 165 ++++---
net/netfilter/nf_conntrack_netlink.c | 302 +++++++------
net/netfilter/nf_conntrack_proto.c | 8 +-
net/netfilter/nf_log_syslog.c | 1 +
net/netfilter/nf_nat_core.c | 37 --
net/netfilter/nf_nat_proto.c | 38 ++
net/netfilter/nf_tables_api.c | 663 ++++++++++++++--------------
net/netfilter/nf_tables_offload.c | 10 +-
net/netfilter/nfnetlink.c | 58 ++-
net/netfilter/nfnetlink_acct.c | 80 ++--
net/netfilter/nfnetlink_cthelper.c | 57 +--
net/netfilter/nfnetlink_cttimeout.c | 146 +++---
net/netfilter/nfnetlink_log.c | 42 +-
net/netfilter/nfnetlink_osf.c | 21 +-
net/netfilter/nfnetlink_queue.c | 86 ++--
net/netfilter/nft_chain_filter.c | 5 +-
net/netfilter/nft_compat.c | 33 +-
net/netfilter/nft_dynset.c | 5 +-
net/netfilter/nft_socket.c | 48 +-
net/netfilter/nft_tproxy.c | 24 +
net/netfilter/x_tables.c | 34 +-
net/netfilter/xt_TPROXY.c | 13 +
net/netfilter/xt_limit.c | 6 +-
net/netfilter/xt_socket.c | 14 +
63 files changed, 1499 insertions(+), 1264 deletions(-)
next reply other threads:[~2021-04-26 17:11 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-26 17:10 Pablo Neira Ayuso [this message]
2021-04-26 17:10 ` [PATCH net-next 01/22] netfilter: nat: move nf_xfrm_me_harder to where it is used Pablo Neira Ayuso
2021-04-26 19:53 ` patchwork-bot+netdevbpf
2021-04-26 17:10 ` [PATCH net-next 02/22] netfilter: nft_socket: add support for cgroupsv2 Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 03/22] netfilter: disable defrag once its no longer needed Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 04/22] netfilter: ebtables: remove the 3 ebtables pointers from struct net Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 05/22] netfilter: x_tables: remove ipt_unregister_table Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 06/22] netfilter: x_tables: add xt_find_table Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 07/22] netfilter: iptables: unregister the tables by name Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 08/22] netfilter: ip6tables: " Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 09/22] netfilter: arptables: " Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 10/22] netfilter: x_tables: remove paranoia tests Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 11/22] netfilter: xt_nat: pass table to hookfn Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 12/22] netfilter: ip_tables: pass table pointer via nf_hook_ops Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 13/22] netfilter: arp_tables: " Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 14/22] netfilter: ip6_tables: " Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 15/22] netfilter: remove all xt_table anchors from struct net Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 16/22] netfilter: nf_log_syslog: Unset bridge logger in pernet exit Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 17/22] netfilter: nftables: add nft_pernet() helper function Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 18/22] netfilter: nfnetlink: add struct nfnl_info and pass it to callbacks Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 19/22] netfilter: nfnetlink: pass struct nfnl_info to rcu callbacks Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 20/22] netfilter: nfnetlink: pass struct nfnl_info to batch callbacks Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 21/22] netfilter: nfnetlink: consolidate callback types Pablo Neira Ayuso
2021-04-26 17:10 ` [PATCH net-next 22/22] netfilter: allow to turn off xtables compat layer Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210426171056.345271-1-pablo@netfilter.org \
--to=pablo@netfilter.org \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).