diff options
author | Florian Westphal <fw@strlen.de> | 2018-06-02 23:41:06 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-06-03 01:18:37 +0200 |
commit | 1b2470e59fb1e983a3655feba30cdfc03e609d51 (patch) | |
tree | 5298d1333c969020c364831d20035ce9cc79070d /net/bpf | |
parent | 290180e2448c02d6b391455937098882a73a9494 (diff) |
netfilter: nf_tables: handle chain name lookups via rhltable
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
drops the nfnl mutex (for request_module) and the abort of this old
transaction is still pending.
The list is kept -- we need a way to iterate chains even if hash resize is
in progress without missing an entry.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/bpf')
0 files changed, 0 insertions, 0 deletions