]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: return booleans instead of integers
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 18 Jan 2018 23:25:12 +0000 (17:25 -0600)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 19 Jan 2018 13:02:18 +0000 (14:02 +0100)
commit164ba46ef3b7101735bb4c2495c3e8e5c581b6ec
tree63798288f48091f5bfa55c609fe2ba66265894bd
parenta5a84154cf1be06b833aae03eeb886babd3d6070
netfilter: return booleans instead of integers

Return statements in functions returning bool should use
true/false instead of 1/0.

These issues were detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conncount.c
net/netfilter/xt_hashlimit.c
net/netfilter/xt_ipcomp.c