Re: [iptables PATCH v2 1/2] nft-ruleparse: Introduce nft_create_target()

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

 



On Sat, Aug 05, 2023 at 01:15:36AM +0200, Phil Sutter wrote:
> Like nft_create_match(), this is a small wrapper around the typical
> target extension lookup and (standard) init code.
> 
> To use it from nft_parse_target() and nft_parse_log(), introduce an
> inner variant which accepts the target payload size as parameter.
> 
> The call to rule_parse_ops::target callback was problematic with
> standard target, because the callbacks initialized
> iptables_command_state::jumpto with the target name, "standard" in that
> case. Perform its tasks in nft_create_target(), keep it only for bridge
> family's special handling of watcher "targets".
> 
> Signed-off-by: Phil Sutter <phil@xxxxxx>

Series applied.



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

  Powered by Linux