netfilter: connlimit: factor hlist search into new function
authorFlorian Westphal <fw@strlen.de>
Fri, 7 Mar 2014 13:37:09 +0000 (14:37 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 12 Mar 2014 12:55:01 +0000 (13:55 +0100)
commit15cfd52895751e8f36b48b8ad33f1d68b59611e2
tree312c48932d059e660667a28d5cd37aaef7e5c09c
parenta4c2e8beba843206cf6447a85b0580a1ae5d50a0
netfilter: connlimit: factor hlist search into new function

Simplifies followup patch that introduces separate locks for each of
the hash slots.

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