From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH nf-next 0/5] nfnetlink housekeeping
Date: Fri, 23 Apr 2021 00:17:07 +0200 [thread overview]
Message-ID: <20210422221712.399156-1-pablo@netfilter.org> (raw)
Hi,
This patchset contains updates for the nfnetlink infrastructure
and its users.
1) Add nft_pernet() helper to obtain the nftables pernet area.
2) Add the nfnl_info structure to reduce the footprint of the
nfnetlink callbacks. Update the rcu, mutex and batch callbacks
to use it.
3) Add a callback type field to consolidate the nfnetlink subsystem
callbacks.
Whenever possible, I have applied reverse xmas tree to variable
definitions.
Pablo Neira Ayuso (5):
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
include/linux/netfilter/nfnetlink.h | 33 +-
include/net/netfilter/nf_tables.h | 8 +
net/netfilter/ipset/ip_set_core.c | 165 ++++---
net/netfilter/nf_conntrack_netlink.c | 302 ++++++------
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 | 84 ++--
net/netfilter/nft_chain_filter.c | 5 +-
net/netfilter/nft_compat.c | 32 +-
net/netfilter/nft_dynset.c | 5 +-
16 files changed, 898 insertions(+), 813 deletions(-)
--
2.30.2
next reply other threads:[~2021-04-22 22:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-22 22:17 Pablo Neira Ayuso [this message]
2021-04-22 22:17 ` [PATCH nf-next 1/5] netfilter: nftables: add nft_pernet() helper function Pablo Neira Ayuso
2021-04-22 22:17 ` [PATCH nf-next 2/5] netfilter: nfnetlink: add struct nfnl_info and pass it to callbacks Pablo Neira Ayuso
2021-04-22 22:17 ` [PATCH nf-next 3/5] netfilter: nfnetlink: pass struct nfnl_info to rcu callbacks Pablo Neira Ayuso
2021-04-22 22:17 ` [PATCH nf-next 4/5] netfilter: nfnetlink: pass struct nfnl_info to batch callbacks Pablo Neira Ayuso
2021-04-22 22:17 ` [PATCH nf-next 5/5] netfilter: nfnetlink: consolidate callback types Pablo Neira Ayuso
2021-04-30 2:33 ` [netfilter] d509b127cc: WARNING:at_kernel/rcu/tree_plugin.h:#__rcu_read_unlock kernel test robot
2021-04-30 2:33 ` kernel test robot
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=20210422221712.399156-1-pablo@netfilter.org \
--to=pablo@netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.