diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-04-29 18:07:34 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-05-02 23:30:35 +0200 |
commit | e73ada02020c92212666cda9408655356454a3c3 (patch) | |
tree | d73ad7f39bc92b7ad6874aa5d430a37e888558c1 /include | |
parent | 745e51d0b8f0512156bccc345e69ccb48338faf6 (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.h | 1 |
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 { |