diff options
author | 2017-02-23 17:08:53 -0800 | |
---|---|---|
committer | 2017-02-25 13:32:35 +0100 | |
commit | 7fb668ac7b498f7e8ba2de373fe8a8648bd39a4c (patch) | |
tree | ce6810abbde346e7e95022f9e3a81fe1dfb2828f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | uapi: fix linux/netfilter/xt_hashlimit.h userspace compilation error (diff) | |
download | wireguard-linux-7fb668ac7b498f7e8ba2de373fe8a8648bd39a4c.tar.xz wireguard-linux-7fb668ac7b498f7e8ba2de373fe8a8648bd39a4c.zip |
netfilter: nf_ct_expect: nf_ct_expect_related_report(): Return zero on success.
Commit 4dee62b1b9b4 ("netfilter: nf_ct_expect: nf_ct_expect_insert()
returns void") inadvertently changed the successful return value of
nf_ct_expect_related_report() from 0 to 1, which caused openvswitch
conntrack integration fail in FTP test cases.
Fix this by always returning zero on the success code path.
Fixes: 4dee62b1b9b4 ("netfilter: nf_ct_expect: nf_ct_expect_insert() returns void")
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Joe Stringer <joe@ovn.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions