Message ID | 20171219174641.GA30912@lkp-wsm-ep1 |
---|---|
State | RFC |
Delegated to: | Pablo Neira |
Headers | show |
Series | netfilter: connlimit: fix boolreturn.cocci warnings | expand |
--- a/net/netfilter/nf_conncount.c +++ b/net/netfilter/nf_conncount.c @@ -71,7 +71,7 @@ static inline bool already_closed(const return conn->proto.tcp.state == TCP_CONNTRACK_TIME_WAIT || conn->proto.tcp.state == TCP_CONNTRACK_CLOSE; else - return 0; + return false; } static int key_diff(const u32 *a, const u32 *b, unsigned int klen)