aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netfilter/nf_flow_table.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2022-08-22 23:13:00 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2022-08-24 07:43:21 +0200
commit759eebbcfafcefa23b59e912396306543764bd3c (patch)
tree87abfabd2c84bf8e763f44adcd0016fbadb2d593 /include/net/netfilter/nf_flow_table.h
parentnetfilter: nf_tables: disallow binding to already bound chain (diff)
downloadlinux-dev-759eebbcfafcefa23b59e912396306543764bd3c.tar.xz
linux-dev-759eebbcfafcefa23b59e912396306543764bd3c.zip
netfilter: flowtable: add function to invoke garbage collection immediately
Expose nf_flow_table_gc_run() to force a garbage collector run from the offload infrastructure. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to '')
-rw-r--r--include/net/netfilter/nf_flow_table.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_flow_table.h b/include/net/netfilter/nf_flow_table.h
index d5326c44b453..476cc4423a90 100644
--- a/include/net/netfilter/nf_flow_table.h
+++ b/include/net/netfilter/nf_flow_table.h
@@ -270,6 +270,7 @@ void flow_offload_refresh(struct nf_flowtable *flow_table,
struct flow_offload_tuple_rhash *flow_offload_lookup(struct nf_flowtable *flow_table,
struct flow_offload_tuple *tuple);
+void nf_flow_table_gc_run(struct nf_flowtable *flow_table);
void nf_flow_table_gc_cleanup(struct nf_flowtable *flowtable,
struct net_device *dev);
void nf_flow_table_cleanup(struct net_device *dev);