Qdiscs are not supposed to reset statistics in reset() and while
changing parameters. My argumentation is that if the user wants
the counters to be reset he can simply remove and readd the
qdiscs, that's what most users do anyway.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
continue;
red_restart(&q->parms);
q->backlog = 0;
- q->stats.other = 0;
- q->stats.forced_drop = 0;
- q->stats.prob_drop = 0;
- q->stats.pdrop = 0;
}
}
ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl->Plog,
ctl->Scell_log, stab);
- q->stats.other = 0;
- q->stats.forced_drop = 0;
- q->stats.prob_drop = 0;
- q->stats.pdrop = 0;
-
return 0;
}