Re: [PATCH nf-next] netfilter: nf_tables: handle chain name lookups via rhltable

2018-06-02 Thread Pablo Neira Ayuso
On Sat, Jun 02, 2018 at 11:41:06PM +0200, Florian Westphal wrote: > If there is a significant amount of chains list search is too slow, so > add an rhlist table for this. > > This speeds up ruleset loading: for every new rule we have to check if > the name already exists in current generation. >

[PATCH nf-next] netfilter: nf_tables: handle chain name lookups via rhltable

2018-06-02 Thread Florian Westphal
If there is a significant amount of chains list search is too slow, so add an rhlist table for this. This speeds up ruleset loading: for every new rule we have to check if the name already exists in current generation. We need to be able to cope with duplicate chain names in case a transaction