diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rule.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -299,12 +299,15 @@ void cache_flush(struct nft_ctx *nft, enum cmd_ops cmd, struct list_head *msgs) __cache_flush(&cache->list); cache->genid = mnl_genid_get(&ctx); + cache->cmd = CMD_LIST; } void cache_release(struct nft_cache *cache) { __cache_flush(&cache->list); cache->genid = 0; + cache->cmd = CMD_INVALID; + } /* internal ID to uniquely identify a set in the batch */ |