diff options
author | 2019-06-18 15:22:44 +0100 | |
---|---|---|
committer | 2019-06-19 17:48:34 +0200 | |
commit | 72c5e11854afb842e157353be0291d65b91725f5 (patch) | |
tree | 3e10056c5de53b36985aa3bfd8f0575219cb2ada /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: synproxy: extract SYNPROXY infrastructure from {ipt, ip6t}_SYNPROXY (diff) | |
download | wireguard-linux-72c5e11854afb842e157353be0291d65b91725f5.tar.xz wireguard-linux-72c5e11854afb842e157353be0291d65b91725f5.zip |
netfilter: synproxy: ensure zero is returned on non-error return path
Currently functions nf_synproxy_{ipc4|ipv6}_init return an uninitialized
garbage value in variable ret on a successful return. Fix this by
returning zero on success.
Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: d7f9b2f18eae ("netfilter: synproxy: extract SYNPROXY infrastructure from {ipt, ip6t}_SYNPROXY")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
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