Re: [PATCH nft 1/3] src: prepare for future ct timeout policy support

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

 



On Wed, Sep 27, 2017 at 07:38:05PM +0200, Florian Westphal wrote:
> Change all places that expect ct helper tokens (ct helper configuration)
> to CT HELPER.  ct_obj_kind is removed.
> 
> When we add ct timeout support, we will add a new ct_timeout_block,
> plus extra rules.  We won't extend ct_block, it prevents the parser
> from detecting bogus syntax that only makes sense for ct helper but
> not for something else for instance.
> 
> ct_block should be renamed to ct_helper_block, will be done in
> followup patch.
> 
> Signed-off-by: Florian Westphal <fw@xxxxxxxxx>

Acked-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>

>  include/ct.h       |  2 --
>  include/rule.h     |  2 +-
>  src/ct.c           | 10 ------
>  src/parser_bison.y | 98 ++++++++++--------------------------------------------
>  src/rule.c         |  7 ++--
>  5 files changed, 23 insertions(+), 96 deletions(-)

Nice diffstats.
--
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