From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netfilter-devel@vger.kernel.org
Cc: Florian Westphal <fw@strlen.de>,
netfilter-devel@vger.kernel.org, davem@davemloft.net,
netdev@vger.kernel.org, kuba@kernel.org, pabeni@redhat.com,
edumazet@google.com, horms@kernel.org, ja@ssi.bg
Subject: Re: [PATCH net-next 0/8] Netfilter/IPVS fixes for net-next
Date: Wed, 19 Aug 2026 23:50:43 +0200 [thread overview]
Message-ID: <aoYlM3J0SP51Kpoh@chamomile> (raw)
In-Reply-To: <aoTzAYyHk7E-HTE_@strlen.de>
TLDR; I can post new v2 for this PR if needed, the left-over of
LIST_HEAD(set_update_list) in patch #6 is a bit embarrasing from
cosmetic standpoint because I will need a oneliner patch to remove it.
And I can re-target to net.git as Paolo already mentioned.
Anything else can be addressed by follow ups.
See below my comments (extending Florian's) for more details.
On Wed, Aug 19, 2026 at 02:04:17AM +0200, Florian Westphal wrote:
> Pablo Neira Ayuso <pablo@netfilter.org> wrote:
> > 1) Validate layer 4 header mangling done via nfnetlink_queue and
> > nft_payload, this is a follow up to recent similar validation
> > at layer 3. From Zhiling Zou.
>
> This needs a followup patch to add validation of the checksum field.
>
> > 2) Do not allocate memory on delete operations in ipset hash:net
> > type, delete operation must always succeed. From Florian Westphal.
>
> The AI feedback should be ignored for this one.
> The missing check for the error is valid, it is added in the pending
> rhashtable patchset.
3) Deliver nft_obj overquota packet path notification directly via
nfnetlink, do not use the control plane batch logic.
From Fourie Zhang.
AI feedback is not an issue. The overquita events is triggered from
packet path, reordering wrt. to transaction handling is not an issue.
5) Do not expose expectation dead flag to userspace via ctnetlink.
This isn't a bug introduced by this patch but...
ctnetlink_exp_ct_dump_table(), reached via IPCTNL_MSG_EXP_GET with
NLM_F_DUMP plus CTA_EXPECT_MASTER, has no such filter..."
Yes, nf_ct_exp_is_expired() can be added to that path too.
"This is a pre-existing issue ... should the read of exp->flags in
ctnetlink_exp_dump_expect() be READ_ONCE()?"
Yes, there are a few spots in the tree missing READ_ONCE(exp->flags),
including this one in this patch.
6) Make commit set_update_list per-netns to prepare to publish
set clone earlier.
Yes, there is a left-over LIST_HEAD(set_update_list) that needs to be
removed in nf_tables_commit() path.
7) Publish the set clone earlier from commit path to address set
lookup failures during table re-creation, this is targetting
the rbtree and pipapo set backends.
Yes, set->dead flag is not set on now and an issue that was fixed
recently can pop up again.
"Does this open a window where the old ruleset is evaluated against
next-generation set contents?"
Yes, this is know and this patch is a step forward improving the
situation in this regard.
Regarding the check in nft_set_do_lookup(), it is only useful at this
stage to set backends with no .commit interface.
Let me know, thanks.
prev parent reply other threads:[~2026-08-19 21:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-17 23:29 [PATCH net-next 0/8] Netfilter/IPVS fixes for net-next Pablo Neira Ayuso
2026-08-17 23:29 ` [PATCH net-next 1/8] netfilter: validate L4 headers after userspace packet writes Pablo Neira Ayuso
2026-08-17 23:29 ` [PATCH net-next 2/8] netfilter: ipset: remove need to allocate memory on delete operations Pablo Neira Ayuso
2026-08-17 23:29 ` [PATCH net-next 3/8] netfilter: nf_tables: don't queue packet path object notifications Pablo Neira Ayuso
2026-08-17 23:29 ` [PATCH net-next 4/8] netfilter: nf_conntrack_expect: consolidate check for insertion of dead expectation Pablo Neira Ayuso
2026-08-17 23:29 ` [PATCH net-next 5/8] netfilter: ctnetlink: do not expose expectation DEAD flag Pablo Neira Ayuso
2026-08-17 23:29 ` [PATCH net-next 6/8] netfilter: nf_tables: move set_update_list to nftables per-netns Pablo Neira Ayuso
2026-08-17 23:29 ` [PATCH net-next 7/8] netfilter: nf_tables: call set ops .commit when building new ruleset blob Pablo Neira Ayuso
2026-08-17 23:29 ` [PATCH net-next 8/8] ipvs: fix integer overflow in ftp helper port/address parsing Pablo Neira Ayuso
2026-08-18 13:18 ` [PATCH net-next 0/8] Netfilter/IPVS fixes for net-next Paolo Abeni
2026-08-19 0:04 ` Florian Westphal
2026-08-19 21:50 ` Pablo Neira Ayuso [this message]
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=aoYlM3J0SP51Kpoh@chamomile \
--to=pablo@netfilter.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=fw@strlen.de \
--cc=horms@kernel.org \
--cc=ja@ssi.bg \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=pabeni@redhat.com \
/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