diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c
index 2046102a763efe2a2fa7f1872d4020109da194a2..363264ca2e09626cec44cc79b0f981f9cdc17648 100644
--- a/net/sched/cls_api.c
+++ b/net/sched/cls_api.c
@@ -3614,6 +3614,7 @@ int tc_setup_flow_action(struct flow_action *flow_action,
 				entry->mangle.val = tcf_pedit_val(act, k);
 				entry->mangle.offset = tcf_pedit_offset(act, k);
 				entry = &flow_action->entries[++j];
+				entry->hw_stats_type = act->hw_stats_type;
 			}
 		} else if (is_tcf_csum(act)) {
 			entry->id = FLOW_ACTION_CSUM;