netfilter: connlimit: make same_source_net signed
authorFlorian Westphal <fw@strlen.de>
Wed, 12 Mar 2014 22:49:50 +0000 (23:49 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 17 Mar 2014 10:11:52 +0000 (11:11 +0100)
commit50e0e9b12914dd82d1ece22d57bf8c146a1d1b52
treebcc01476d6b9fc3bca548028daf8660867fc7bc4
parent1442e7507dd597cc701b224d3cc9bf1f165e928b
netfilter: connlimit: make same_source_net signed

currently returns 1 if they're the same.  Make it work like mem/strcmp
so it can be used as rbtree search function.

Reviewed-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_connlimit.c