projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f34f30
)
netfilter: flowtable: Fix setting forgotten NF_FLOW_HW_DEAD flag
author
Paul Blakey
<paulb@mellanox.com>
Thu, 30 Jan 2020 16:04:37 +0000
(18:04 +0200)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Fri, 31 Jan 2020 18:31:42 +0000
(19:31 +0100)
During the refactor this was accidently removed.
Fixes: ae29045018c8 ("netfilter: flowtable: add nf_flow_offload_tuple() helper")
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_offload.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nf_flow_table_offload.c
b/net/netfilter/nf_flow_table_offload.c
index c8b70ffeef0cca7f9044d0adc89ade714842e5db..83e1db37c3b041f7872624d05dddd78a8b980404 100644
(file)
--- a/
net/netfilter/nf_flow_table_offload.c
+++ b/
net/netfilter/nf_flow_table_offload.c
@@
-675,6
+675,7
@@
static void flow_offload_work_del(struct flow_offload_work *offload)
{
flow_offload_tuple_del(offload, FLOW_OFFLOAD_DIR_ORIGINAL);
flow_offload_tuple_del(offload, FLOW_OFFLOAD_DIR_REPLY);
+ set_bit(NF_FLOW_HW_DEAD, &offload->flow->flags);
}
static void flow_offload_tuple_stats(struct flow_offload_work *offload,