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:
parent
458a1828e9
commit
6ca61c7a8b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user