Re: [PATCH nftables] netlink_linearize: skip set element expression in set statement key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 04, 2017 at 02:27:45PM +0000, Anders K. Pedersen | Cohaesio wrote:
> From: Anders K. Pedersen <akp@xxxxxxxxxxxx>
> 
> 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.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux