projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
458a182
)
netfilter: nf_tables_offload: remove reference to flow rule from deletion path
author
Pablo Neira Ayuso
<pablo@netfilter.org>
Thu, 14 Nov 2019 13:17:19 +0000
(14:17 +0100)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Fri, 15 Nov 2019 22:44:50 +0000
(23:44 +0100)
The cookie is sufficient to delete the rule from the hardware.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_offload.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nf_tables_offload.c
b/net/netfilter/nf_tables_offload.c
index
741045e
..
528886b
100644
(file)
--- 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;
}