]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipt_ah: return boolean instead of integer
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Tue, 13 Feb 2018 14:25:57 +0000 (08:25 -0600)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 5 Mar 2018 22:15:43 +0000 (23:15 +0100)
commit29f389a3024254c4ed72ba5151afd5a4306e5ea4
treeb99e88be3a36e859af480d86893c092e15ccefa3
parent9a1bcbe433c0eb7f7f6f2773dd1578296b0eb4f6
netfilter: ipt_ah: return boolean instead of integer

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

This issue was 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/ipv4/netfilter/ipt_ah.c