diff options
author | 2018-11-25 18:47:13 +0900 | |
---|---|---|
committer | 2018-11-27 00:48:12 +0100 | |
commit | 53ca0f2fec39c80ccd19e6e3f30cc8daef174b70 (patch) | |
tree | d143e0e9bdcb026745c358ad96e8853bdcfd2896 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: nat: fix double register in masquerade modules (diff) | |
download | wireguard-linux-53ca0f2fec39c80ccd19e6e3f30cc8daef174b70.tar.xz wireguard-linux-53ca0f2fec39c80ccd19e6e3f30cc8daef174b70.zip |
netfilter: nf_conncount: remove wrong condition check routine
All lists that reach the tree_nodes_free() function have both zero
counter and true dead flag. The reason for this is that lists to be
release are selected by nf_conncount_gc_list() which already decrements
the list counter and sets on the dead flag. Therefore, this if statement
in tree_nodes_free() is unnecessary and wrong.
Fixes: 31568ec09ea0 ("netfilter: nf_conncount: fix list_del corruption in conn_free")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions