From: Florian Westphal <fw@strlen.de>
To: <netfilter-devel@vger.kernel.org>
Cc: Florian Westphal <fw@strlen.de>
Subject: [PATCH nf-next 0/3] netfilter: conntrack: cleanups
Date: Mon, 2 Jan 2023 12:46:09 +0100 [thread overview]
Message-ID: <20230102114612.15860-1-fw@strlen.de> (raw)
- Get rid of old pr_debug calls. In some cases, switch
to nf_log infra, in other cases they can just be removed.
- Some ct->status bits can only be set before the conntrack
is inserted, such as IPS_NAT_CLASH. We can avoid refetch
of ct->status in some cases because of this.
Florian Westphal (3):
netfilter: conntrack: sctp: use nf log infrastructure for invalid
packets
netfilter: conntrack: remove pr_debug calls
netfilter: conntrack: avoid reload of ct->status
net/netfilter/nf_conntrack_core.c | 29 ++++------------
net/netfilter/nf_conntrack_proto.c | 20 ++---------
net/netfilter/nf_conntrack_proto_sctp.c | 46 ++++++++-----------------
net/netfilter/nf_conntrack_proto_tcp.c | 9 -----
net/netfilter/nf_conntrack_proto_udp.c | 10 +++---
5 files changed, 31 insertions(+), 83 deletions(-)
--
2.38.2
next reply other threads:[~2023-01-02 11:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-02 11:46 Florian Westphal [this message]
2023-01-02 11:46 ` [PATCH nf-next 1/3] netfilter: conntrack: sctp: use nf log infrastructure for invalid packets Florian Westphal
2023-01-02 11:46 ` [PATCH nf-next 2/3] netfilter: conntrack: remove pr_debug calls Florian Westphal
2023-01-02 11:46 ` [PATCH nf-next 3/3] netfilter: conntrack: avoid reload of ct->status 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=20230102114612.15860-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).