From e73ada02020c92212666cda9408655356454a3c3 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 29 Apr 2021 18:07:34 +0200 Subject: 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 --- include/cache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 { -- cgit v1.2.3