summaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-06-02 23:41:06 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-06-03 01:18:37 +0200
commit1b2470e59fb1e983a3655feba30cdfc03e609d51 (patch)
tree5298d1333c969020c364831d20035ce9cc79070d /include/drm/drmP.h
parent290180e2448c02d6b391455937098882a73a9494 (diff)
downloadop-kernel-dev-1b2470e59fb1e983a3655feba30cdfc03e609d51.zip
op-kernel-dev-1b2470e59fb1e983a3655feba30cdfc03e609d51.tar.gz
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 'include/drm/drmP.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud