diff options
author | Jarno Rajahalme <jarno@ovn.org> | 2017-02-23 17:08:54 -0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-02-26 17:06:59 +0100 |
commit | 4b86c459c7bee3acaf92f0e2b4c6ac803eaa1a58 (patch) | |
tree | 92a327731dd37dada3a753fae2807320329700ab /mm/list_lru.c | |
parent | 7fb668ac7b498f7e8ba2de373fe8a8648bd39a4c (diff) | |
download | linux-4b86c459c7bee3acaf92f0e2b4c6ac803eaa1a58.tar.bz2 |
netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value.
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 due to
__nf_ct_expect_check() returning 1 on success. Prevent this
regression in the future by changing the return value of
__nf_ct_expect_check() to 0 on success.
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 'mm/list_lru.c')
0 files changed, 0 insertions, 0 deletions