netfilter: nf_tables_offload: remove reference to flow rule from deletion path

The cookie is sufficient to delete the rule from the hardware.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
Pablo Neira Ayuso 2019-11-14 14:17:19 +01:00
parent 458a1828e9
commit 6ca61c7a8b
1 changed files with 1 additions and 2 deletions

View File

@ -437,8 +437,7 @@ int nft_flow_rule_offload_commit(struct net *net)
err = nft_flow_offload_rule(trans->ctx.chain,
nft_trans_rule(trans),
nft_trans_flow_rule(trans),
FLOW_CLS_DESTROY);
NULL, FLOW_CLS_DESTROY);
break;
}