diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-02-28 22:43:02 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-03-01 19:23:23 +0300 |
commit | aabef97a35160461e9c576848ded737558d89055 (patch) | |
tree | f1aa78fbf75b2c8f483009bacb963ba5a19ab3ce /tools/perf/scripts/python/task-analyzer.py | |
parent | 860e874290fb3be08e966c9c8ffc510c5b0f2bd8 (diff) | |
download | linux-aabef97a35160461e9c576848ded737558d89055.tar.xz |
netfilter: nft_quota: copy content when cloning expression
If the ruleset contains consumed quota, restore them accordingly.
Otherwise, listing after restoration shows never used items.
Restore the user-defined quota and flags too.
Fixes: ed0a0c60f0e5 ("netfilter: nft_quota: move stateful fields out of expression data")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions