]> 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)
commita4c2ed1cc351a638226aaac26cfaf8d38ccd9bbd
treeb99e88be3a36e859af480d86893c092e15ccefa3
parenta0213c5f9f23ff8700447a15005d8d07dfacad22
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