Skip to content

Commit 6ca61c7

Browse files
committed
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 <[email protected]>
1 parent 458a182 commit 6ca61c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

net/netfilter/nf_tables_offload.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,7 @@ int nft_flow_rule_offload_commit(struct net *net)
437437

438438
err = nft_flow_offload_rule(trans->ctx.chain,
439439
nft_trans_rule(trans),
440-
nft_trans_flow_rule(trans),
441-
FLOW_CLS_DESTROY);
440+
NULL, FLOW_CLS_DESTROY);
442441
break;
443442
}
444443

0 commit comments

Comments
 (0)