diff options
Diffstat (limited to 'net/sched/sch_ets.c')
-rw-r--r-- | net/sched/sch_ets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_ets.c b/net/sched/sch_ets.c index ed86b7021f6d..83693107371f 100644 --- a/net/sched/sch_ets.c +++ b/net/sched/sch_ets.c @@ -689,7 +689,7 @@ static int ets_qdisc_change(struct Qdisc *sch, struct nlattr *opt, q->classes[i].qdisc = NULL; q->classes[i].quantum = 0; q->classes[i].deficit = 0; - memset(&q->classes[i].bstats, 0, sizeof(q->classes[i].bstats)); + gnet_stats_basic_packed_init(&q->classes[i].bstats); memset(&q->classes[i].qstats, 0, sizeof(q->classes[i].qstats)); } return 0; |