From: Phil Sutter <phil@nwl.cc>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nft] evaluate: set key byteorder when evaluating mapping
Date: Wed, 25 Nov 2026 11:31:54 +0100 [thread overview]
Message-ID: <awa5GsKTiQvNkUVA@orbyte.nwl.cc> (raw)
In-Reply-To: <20261124235306.1777-1-pablo@netfilter.org>
On Wed, Nov 25, 2026 at 12:53:06AM +0100, Pablo Neira Ayuso wrote:
> set->key->dtype is TYPE_INTEGER (see integer_type definition) which uses
> BYTEORDER_INVALID by default, this is used to set up the context for
> parsing the symbols in the mapping. Set explicit byteorder context to
> address this bug.
>
> Fixes: 144d97e151adb ("src: normalize set element with EXPR_MAPPING")
> Reported-by: Phil Sutter <phil@nwl.cc>
> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Tested-by: Phil Sutter <phil@nwl.cc>
Thanks for the quick fix, Pablo!
prev parent reply other threads:[~2026-11-25 10:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 23:53 [PATCH nft] evaluate: set key byteorder when evaluating mapping Pablo Neira Ayuso
2026-11-25 10:31 ` 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=awa5GsKTiQvNkUVA@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.