diff options
author | Phil Sutter <phil@nwl.cc> | 2021-03-25 16:24:39 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-04-06 10:52:42 +0200 |
commit | fdf64dcdace989589bac441805082e3b1fe6a915 (patch) | |
tree | 37fcc128d5f5c9030dc4a5ea4d377f2ef5afb3df /extensions/libxt_statistic.txlate | |
parent | c5d9a723b5159a28f547b577711787295a14fd84 (diff) |
nft: cache: Sort chains on demand only
Mandatory sorted insert of chains into cache significantly slows down
restoring of large rulesets. Since the sorted list of user-defined
chains is needed for listing and verbose output only, introduce
nft_cache_sort_chains() and call it where needed.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libxt_statistic.txlate')
0 files changed, 0 insertions, 0 deletions