From: Pablo Neira Ayuso <pablo@netfilter.org>
To: "Anders K. Pedersen | Cohaesio" <akp@cohaesio.com>
Cc: "netfilter-devel@vger.kernel.org" <netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH nftables] netlink_linearize: skip set element expression in set statement key
Date: Fri, 6 Oct 2017 14:58:11 +0200 [thread overview]
Message-ID: <20171006125811.GA8450@salvia> (raw)
In-Reply-To: <1507127265.20182.2.camel@cohaesio.com>
On Wed, Oct 04, 2017 at 02:27:45PM +0000, Anders K. Pedersen | Cohaesio wrote:
> From: Anders K. Pedersen <akp@cohaesio.com>
>
> Before this patch the following fails:
>
> # nft add rule ip6 filter x \
> set add ip6 saddr . ip6 daddr @test
> nft: netlink_linearize.c:648: netlink_gen_expr: Assertion `dreg < ctx->reg_low' failed.
> Aborted
>
> This is was previously fixed for flow statements in fbea4a6f4449
> ("netlink_linearize: skip set element expression in flow table key"), and
> this patch implements the same change for set statements by using the set
> element key in netlink_gen_set_stmt().
>
> nft-test.py is updated to support set types with concatenated data types
> in order to support testing of this.
Applied, thanks Anders.
next prev parent reply other threads:[~2017-10-06 12:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-04 14:27 [PATCH nftables] netlink_linearize: skip set element expression in set statement key Anders K. Pedersen | Cohaesio
2017-10-06 12:58 ` Pablo Neira Ayuso [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-08-26 17:50 Anders K. Pedersen | Cohaesio
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=20171006125811.GA8450@salvia \
--to=pablo@netfilter.org \
--cc=akp@cohaesio.com \
--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 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.