Re: [PATCH nft 1/7] src: normalize set element with EXPR_MAPPING

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

 



On Sun, Sep 07, 2025 at 04:10:52PM +0200, Florian Westphal wrote:
> Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
> > This patch normalizes the expression for mappings:
> > 
> >                                        EXPR_SET_ELEM -> EXPR_VALUE
> >                                       /
> > 	EXPR_SET_ELEM -> EXPR_MAPPING |
> >                                       \
> >                                        EXPR_VALUE

Oh, actually this is wrong.

> Is the plan to eventually rewrite this to
> 
>                                          EXPR_VALUE
>                                         /
>   	EXPR_SET_ELEM -> EXPR_MAPPING |
>                                         \
>                                          EXPR_VALUE
> ?

This is the correct representation, I will amend the patch
description.




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux