diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-08-21 13:41:33 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-08-24 08:43:21 +0300 |
commit | 43eb8949cfdffa764b92bc6c54b87cbe5b0003fe (patch) | |
tree | 68e431d7d8a2c6712f08da121396a86a34b7665d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7044ab281febae9e2fa9b0b247693d6026166293 (diff) | |
download | linux-43eb8949cfdffa764b92bc6c54b87cbe5b0003fe.tar.xz |
netfilter: nf_tables: do not leave chain stats enabled on error
Error might occur later in the nf_tables_addchain() codepath, enable
static key only after transaction has been created.
Fixes: 9f08ea848117 ("netfilter: nf_tables: keep chain counters away from hot path")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions