Message ID | 20240829113153.1553089-3-pablo@netfilter.org |
---|---|
State | Accepted |
Headers | show |
Series | [nft,1/5] cache: assert filter when calling nft_cache_evaluate() | expand |
diff --git a/src/cache.c b/src/cache.c index bed98bb71655..fce71eed3452 100644 --- a/src/cache.c +++ b/src/cache.c @@ -493,8 +493,6 @@ int nft_cache_evaluate(struct nft_ctx *nft, struct list_head *cmds, case CMD_INSERT: case CMD_CREATE: flags = evaluate_cache_add(cmd, flags); - if (nft_output_echo(&nft->output)) - flags |= NFT_CACHE_FULL; break; case CMD_REPLACE: flags = NFT_CACHE_FULL;
The echo flags does not use the cache infrastructure yet, it relies on the monitor cache which follows the netlink_echo_callback() path. Fixes: 01e5c6f0ed03 ("src: add cache level flags") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> --- src/cache.c | 2 -- 1 file changed, 2 deletions(-)