From: Pablo Neira Ayuso Date: Thu, 15 Apr 2021 12:00:22 +0000 (+0200) Subject: cache: missing table cache for several policy objects X-Git-Tag: v0.9.9~34 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=fadc1466c98e0c711dec43aa90dc748983c3cf8f;p=thirdparty%2Fnftables.git cache: missing table cache for several policy objects Populate the cache with tables for several policy objects types. Signed-off-by: Pablo Neira Ayuso --- diff --git a/src/cache.c b/src/cache.c index 03b781bb..d1f8e839 100644 --- a/src/cache.c +++ b/src/cache.c @@ -26,6 +26,10 @@ static unsigned int evaluate_cache_add(struct cmd *cmd, unsigned int flags) case CMD_OBJ_QUOTA: case CMD_OBJ_LIMIT: case CMD_OBJ_SECMARK: + case CMD_OBJ_CT_HELPER: + case CMD_OBJ_CT_TIMEOUT: + case CMD_OBJ_CT_EXPECT: + case CMD_OBJ_SYNPROXY: case CMD_OBJ_FLOWTABLE: flags |= NFT_CACHE_TABLE; break;