netfilter: connlimit: move insertion of new element out of count function
authorFlorian Westphal <fw@strlen.de>
Fri, 7 Mar 2014 13:37:11 +0000 (14:37 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 12 Mar 2014 12:55:02 +0000 (13:55 +0100)
commit3bcc5fdf1b1a00be162159c420ea04e0adf709ec
treeb36edafe126bd94cb25d306fd88443ba70545586
parentd9ec4f1ee280e5f8732e3c40ca672419b2532600
netfilter: connlimit: move insertion of new element out of count function

Allows easier code-reuse in followup patches.

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