diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-11-14 14:17:19 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-11-15 23:44:50 +0100 |
commit | 6ca61c7a8bac2768359f67003ac696260fd0985e (patch) | |
tree | a7118bd98bd7ba28562c3466d178ef73a2fdf49f /net/netfilter | |
parent | 458a1828e9f788d4c1da325069fed2c2eaa000fa (diff) | |
download | linux-6ca61c7a8bac2768359f67003ac696260fd0985e.tar.gz linux-6ca61c7a8bac2768359f67003ac696260fd0985e.tar.bz2 linux-6ca61c7a8bac2768359f67003ac696260fd0985e.zip |
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>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/nf_tables_offload.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/netfilter/nf_tables_offload.c b/net/netfilter/nf_tables_offload.c index 741045eb530e..528886bb3481 100644 --- a/net/netfilter/nf_tables_offload.c +++ b/net/netfilter/nf_tables_offload.c @@ -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; } |