All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Sutter <phil@nwl.cc>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nft 00/12] replace compound_expr_*() by type safe function
Date: Fri, 15 Aug 2025 16:18:46 +0200	[thread overview]
Message-ID: <aJ9BxkibzDF-ET6s@orbyte.nwl.cc> (raw)
In-Reply-To: <20250813141144.333784-1-pablo@netfilter.org>

Hi,

On Wed, Aug 13, 2025 at 04:11:32PM +0200, Pablo Neira Ayuso wrote:
> Hi,
> 
> This is a series to replace (and remove) the existing compound_expr_*()
> helper functions which is common to set, list and concat expressions
> by expression type safe variants that validate the expression type.
> 
> No rush to apply this, there is a reported regression on the JSON
> output, in case there is a need to make a new release to address it.

Patch 1 looks like a candidate for advance integration.

> Pablo Neira Ayuso (12):
>   segtree: incorrect type when aggregating concatenated set ranges
>   src: add expr_type_catchall() helper and use it
>   src: replace compound_expr_add() by type safe function
>   src: replace compound_expr_add() by type safe function
>   src: replace compound_expr_add() by type safe function

I suggest changing the subject to something more unique, e.g.:

- src: Introduce set_expr_add()
- src: Introduce concat_expr_add()
- src: Introduce list_expr_add()

Although duplicate commit subjects sometimes happen, there are
situations where it helps tremendously if one can tell them apart by
their subject, e.g. when backporting.

Cheers, Phil

      parent reply	other threads:[~2025-08-15 14:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-13 14:11 [PATCH nft 00/12] replace compound_expr_*() by type safe function Pablo Neira Ayuso
2025-08-13 14:11 ` [PATCH nft 01/12] segtree: incorrect type when aggregating concatenated set ranges Pablo Neira Ayuso
2025-08-15 14:28   ` Phil Sutter
2025-08-13 14:11 ` [PATCH nft 02/12] src: add expr_type_catchall() helper and use it Pablo Neira Ayuso
2025-08-13 14:11 ` [PATCH nft 03/12] src: replace compound_expr_add() by type safe function Pablo Neira Ayuso
2025-08-13 14:11 ` [PATCH nft 04/12] " Pablo Neira Ayuso
2025-08-13 14:11 ` [PATCH nft 05/12] " Pablo Neira Ayuso
2025-08-13 14:11 ` [PATCH nft 06/12] segtree: rename set_compound_expr_add() to set_expr_add_splice() Pablo Neira Ayuso
2025-08-13 14:11 ` [PATCH nft 07/12] expression: replace compound_expr_clone() by type safe function Pablo Neira Ayuso
2025-08-13 14:11 ` [PATCH nft 08/12] expression: remove compound_expr_add() Pablo Neira Ayuso
2025-08-13 14:11 ` [PATCH nft 09/12] expression: replace compound_expr_remove() by type safe function Pablo Neira Ayuso
2025-08-13 14:11 ` [PATCH nft 10/12] expression: replace compound_expr_destroy() by type safe funtion Pablo Neira Ayuso
2025-08-13 14:11 ` [PATCH nft 11/12] expression: replace compound_expr_print() by type safe function Pablo Neira Ayuso
2025-08-13 14:11 ` [PATCH nft 12/12] src: replace compound_expr_alloc() " Pablo Neira Ayuso
2025-08-15 13:30   ` Phil Sutter
2025-08-15 14:18 ` Phil Sutter [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=aJ9BxkibzDF-ET6s@orbyte.nwl.cc \
    --to=phil@nwl.cc \
    --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.