diff options
author | 2021-01-09 20:01:21 +0800 | |
---|---|---|
committer | 2021-01-11 00:34:11 +0100 | |
commit | 869f4fdaf4ca7bb6e0d05caf6fa1108dddc346a7 (patch) | |
tree | 94e517af001f36994064d62d1054c6f26c4ca1ac /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: conntrack: fix reading nf_conntrack_buckets (diff) | |
download | wireguard-linux-869f4fdaf4ca7bb6e0d05caf6fa1108dddc346a7.tar.xz wireguard-linux-869f4fdaf4ca7bb6e0d05caf6fa1108dddc346a7.zip |
netfilter: nf_nat: Fix memleak in nf_nat_init
When register_pernet_subsys() fails, nf_nat_bysource
should be freed just like when nf_ct_extend_register()
fails.
Fixes: 1cd472bf036ca ("netfilter: nf_nat: add nat hook register functions to nf_nat")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Acked-by: Florian Westphal <fw@strlen.de>
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