From: Florian Westphal <fw@strlen.de>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Florian Westphal <fw@strlen.de>, netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nft] evaluate: don't update cache for anonymous chains
Date: Fri, 21 Mar 2025 15:31:49 +0100 [thread overview]
Message-ID: <20250321143149.GB20305@breakpoint.cc> (raw)
In-Reply-To: <Z91hRuByR5QtstqP@calendula>
Pablo Neira Ayuso <pablo@netfilter.org> wrote:
> rule_cache_update() is invoked because of index, which toggle
> NFT_CACHE_UPDATE.
>
> Maybe rule_cache_update() should be skipped for anonymous chain
> instead? ie. return 0.
Makes sense, i sent a v2 and added a comment wrt. anon chains
being immutable.
prev parent reply other threads:[~2025-03-21 14:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-21 11:46 [PATCH nft] evaluate: don't update cache for anonymous chains Florian Westphal
2025-03-21 12:53 ` Pablo Neira Ayuso
2025-03-21 14:31 ` Florian Westphal [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=20250321143149.GB20305@breakpoint.cc \
--to=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.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.