From: Florian Westphal <fw@strlen.de>
To: <netfilter-devel@vger.kernel.org>
Cc: Florian Westphal <fw@strlen.de>
Subject: [PATCH nf-next 0/7] metfilter: remove pcpu dying list
Date: Wed, 9 Feb 2022 17:10:50 +0100 [thread overview]
Message-ID: <20220209161057.30688-1-fw@strlen.de> (raw)
This is part 1 of a series that aims to remove both the unconfirmed
and dying lists.
This moves the dying list into the ecache infrastructure.
Entries are placed on this list only if the delivery of the destroy
event has failed (which implies that at least one userspace listener
did request redelivery).
The percpu dying list is removed in the last patch as it has no
functionality anymore. This avoids the extra spinlock for conntrack
removal.
Florian Westphal (7):
nfnetlink: handle already-released nl socket
netfilter: ctnetlink: make ecache event cb global again
netfilter: ecache: move to separate structure
netfilter: ecache: use dedicated list for event redelivery
netfilter: conntrack: split inner loop of list dumping to own function
netfilter: conntrack: include ecache dying list in dumps
netfilter: conntrack: remove the percpu dying list
include/net/netfilter/nf_conntrack.h | 9 +-
include/net/netfilter/nf_conntrack_ecache.h | 21 +--
include/net/netns/conntrack.h | 2 -
net/netfilter/nf_conntrack_core.c | 60 ++++---
net/netfilter/nf_conntrack_ecache.c | 172 +++++++++-----------
net/netfilter/nf_conntrack_netlink.c | 150 +++++++++--------
net/netfilter/nfnetlink.c | 62 +++++--
7 files changed, 256 insertions(+), 220 deletions(-)
--
2.34.1
next reply other threads:[~2022-02-09 16:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-09 16:10 Florian Westphal [this message]
2022-02-09 16:10 ` [PATCH nf-next 1/7] nfnetlink: handle already-released nl socket Florian Westphal
2022-02-09 16:10 ` [PATCH nf-next 2/7] netfilter: ctnetlink: make ecache event cb global again Florian Westphal
2022-02-09 16:10 ` [PATCH nf-next 3/7] netfilter: ecache: move to separate structure Florian Westphal
2022-02-09 16:10 ` [PATCH nf-next 4/7] netfilter: ecache: use dedicated list for event redelivery Florian Westphal
2022-02-09 16:10 ` [PATCH nf-next 5/7] netfilter: conntrack: split inner loop of list dumping to own function Florian Westphal
2022-02-09 16:10 ` [PATCH nf-next 6/7] netfilter: conntrack: include ecache dying list in dumps Florian Westphal
2022-02-09 16:10 ` [PATCH nf-next 7/7] netfilter: conntrack: remove the percpu dying list Florian Westphal
2022-02-09 16:26 ` [PATCH nf-next 0/7] metfilter: remove pcpu " Florian Westphal
2022-02-24 16:04 ` Pablo Neira Ayuso
2022-02-24 16:15 ` Florian Westphal
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=20220209161057.30688-1-fw@strlen.de \
--to=fw@strlen.de \
--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).