diff options
author | Yi-Hung Wei <yihung.wei@gmail.com> | 2018-07-03 03:33:39 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-07-18 12:26:31 +0300 |
commit | 2a406e8ac7c3e7e96b94d6c0765d5a4641970446 (patch) | |
tree | 13e54c7f9a824946c9082f510393a12c330141c3 /net/netfilter/nft_flow_offload.c | |
parent | 5d400a4933e867dbc3706023c8ed55d364c233ed (diff) | |
download | linux-2a406e8ac7c3e7e96b94d6c0765d5a4641970446.tar.xz |
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>
Diffstat (limited to 'net/netfilter/nft_flow_offload.c')
0 files changed, 0 insertions, 0 deletions