summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorYi-Hung Wei <yihung.wei@gmail.com>2018-07-02 17:33:41 -0700
committerPablo Neira Ayuso <pablo@netfilter.org>2018-07-18 11:26:34 +0200
commit976afca1ceba53df6f4a543014e15d1c7a962571 (patch)
treed9d3e71727e1bc05208535ae8ef6fd8ea51540e7 /drivers
parentcb2b36f5a97df76f547fcc4ab444a02522fb6c96 (diff)
netfilter: nf_conncount: Early exit in nf_conncount_lookup() and cleanup
This patch is originally from Florian Westphal. This patch does the following three tasks. It applies the same early exit technique for nf_conncount_lookup(). Since now we keep the number of connections in 'struct nf_conncount_list', we no longer need to return the count in nf_conncount_lookup(). Moreover, we expose the garbage collection function nf_conncount_gc_list() for nft_connlimit. Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions