summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-04-29 18:07:34 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2021-05-02 23:30:35 +0200
commite73ada02020c92212666cda9408655356454a3c3 (patch)
treed73ad7f39bc92b7ad6874aa5d430a37e888558c1 /include
parent745e51d0b8f0512156bccc345e69ccb48338faf6 (diff)
evaluate: remove flowtable from cache on delete flowtable command
Update the cache to remove this flowtable from the evaluation phase. Add flowtable_cache_del() function for this purpose. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cache.h b/include/cache.h
index 3823e9a7..ad907843 100644
--- a/include/cache.h
+++ b/include/cache.h
@@ -96,6 +96,7 @@ struct obj *obj_cache_find(const struct table *table, const char *name,
struct flowtable;
void ft_cache_add(struct flowtable *ft, struct table *table);
+void ft_cache_del(struct flowtable *ft);
struct flowtable *ft_cache_find(const struct table *table, const char *name);
struct nft_cache {