summaryrefslogtreecommitdiffstats
path: root/iptables/iptables-restore.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-12-15 15:40:56 +0100
committerPhil Sutter <phil@nwl.cc>2022-03-17 09:56:01 +0100
commitf58b0d7406451afbb4b9b6c7888990c964fa7c79 (patch)
treee0d5ce6eb656202bb0d5451547b61ef32eb3f0fa /iptables/iptables-restore.c
parentb1aee6b2238794446feba41778f88703784560f7 (diff)
libxtables: Implement notargets hash table
Target lookup is relatively costly due to the filesystem access. Avoid this overhead in huge rulesets which contain many chain jumps by caching the failed lookups into a hashtable for later. Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/iptables-restore.c')
0 files changed, 0 insertions, 0 deletions