diff options
author | Taehee Yoo <ap420073@gmail.com> | 2018-11-07 00:33:07 +0900 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-11-12 16:41:09 +0100 |
commit | b9660987692230b381b64c1f1e912febe142c390 (patch) | |
tree | a1e778a891a6db560ded9a81a93e4b898b5e1d19 /net/netfilter/xt_hashlimit.c | |
parent | netfilter: nf_flow_table: make nf_flow_table_iterate() static (diff) | |
download | linux-dev-b9660987692230b381b64c1f1e912febe142c390.tar.xz linux-dev-b9660987692230b381b64c1f1e912febe142c390.zip |
netfilter: nf_flow_table: simplify nf_flow_offload_gc_step()
nf_flow_offload_gc_step() and nf_flow_table_iterate() are very similar.
so that many duplicate code can be removed.
After this patch, nf_flow_offload_gc_step() is simple callback function of
nf_flow_table_iterate() like nf_flow_table_do_cleanup().
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/xt_hashlimit.c')
0 files changed, 0 insertions, 0 deletions