Skip to content

Commit c22208b

Browse files
Paul Blakeyummakynes
authored andcommitted
netfilter: flowtable: Fix setting forgotten NF_FLOW_HW_DEAD flag
During the refactor this was accidently removed. Fixes: ae29045 ("netfilter: flowtable: add nf_flow_offload_tuple() helper") Signed-off-by: Paul Blakey <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
1 parent 0f34f30 commit c22208b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/netfilter/nf_flow_table_offload.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,7 @@ static void flow_offload_work_del(struct flow_offload_work *offload)
675675
{
676676
flow_offload_tuple_del(offload, FLOW_OFFLOAD_DIR_ORIGINAL);
677677
flow_offload_tuple_del(offload, FLOW_OFFLOAD_DIR_REPLY);
678+
set_bit(NF_FLOW_HW_DEAD, &offload->flow->flags);
678679
}
679680

680681
static void flow_offload_tuple_stats(struct flow_offload_work *offload,

0 commit comments

Comments
 (0)