Re: [PATCH net 08/13] netfilter: nf_tables: use timestamp to check for set element timeout

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

 



On Thu, 2024-02-08 at 00:37 +0100, Pablo Neira Ayuso wrote:
> diff --git a/net/netfilter/nft_set_pipapo.c b/net/netfilter/nft_set_pipapo.c
> index f24ecdaa1c1e..7ee4e54fbb4b 100644
> --- a/net/netfilter/nft_set_pipapo.c
> +++ b/net/netfilter/nft_set_pipapo.c
> @@ -513,7 +513,8 @@ bool nft_pipapo_lookup(const struct net *net, const struct nft_set *set,
>   */
>  static struct nft_pipapo_elem *pipapo_get(const struct net *net,
>  					  const struct nft_set *set,
> -					  const u8 *data, u8 genmask)
> +					  const u8 *data, u8 genmask,
> +					  u64 tstamp)

(just if v2 is coming): the new argument lacks kdoc documentation.

Cheers,

Paolo






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

  Powered by Linux