commit | 2a406e8ac7c3e7e96b94d6c0765d5a4641970446 | [log] [tgz] |
---|---|---|
author | Yi-Hung Wei <yihung.wei@gmail.com> | Mon Jul 02 17:33:39 2018 -0700 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Wed Jul 18 11:26:31 2018 +0200 |
tree | 13e54c7f9a824946c9082f510393a12c330141c3 | |
parent | 5d400a4933e867dbc3706023c8ed55d364c233ed [diff] |
netfilter: nf_conncount: Early exit for garbage collection This patch is originally from Florian Westphal. We use an extra function with early exit for garbage collection. It is not necessary to traverse the full list for every node since it is enough to zap a couple of entries for garbage collection. 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>