Re: [PATCH nf-next 2/2] netfilter: nf_tables: handle nft_object lookups via rhltable

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

 



On Tue, Jan 08, 2019 at 03:45:59PM +0100, Florian Westphal wrote:
> Instead of linear search, use rhlist interface to look up the objects.
> This fixes rulesets with thousands of named objects (quota, counters and
> the like).
> 
> We only use a single table for this and consider the address of the
> table we're doing the lookup in as a part of the key.
> 
> This reduces restore time of a sample ruleset with ~20k named counters
> from 37 seconds to 0.8 seconds.

Also applied, thanks.



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

  Powered by Linux