net/sched: pass flow_stats instead of multiple stats args
[linux-2.6-microblaze.git] / net / sched / cls_matchall.c
index 705f63d..b3883d3 100644 (file)
@@ -331,11 +331,7 @@ static void mall_stats_hw_filter(struct tcf_proto *tp,
 
        tc_setup_cb_call(block, TC_SETUP_CLSMATCHALL, &cls_mall, false, true);
 
-       tcf_exts_hw_stats_update(&head->exts, cls_mall.stats.bytes,
-                                cls_mall.stats.pkts, cls_mall.stats.drops,
-                                cls_mall.stats.lastused,
-                                cls_mall.stats.used_hw_stats,
-                                cls_mall.stats.used_hw_stats_valid);
+       tcf_exts_hw_stats_update(&head->exts, &cls_mall.stats);
 }
 
 static int mall_dump(struct net *net, struct tcf_proto *tp, void *fh,