diff options
author | Michal Soltys <soltys@ziu.info> | 2016-06-30 02:26:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-01 11:03:43 +0200 |
commit | ab12cb4742cf608cfee43c84fe07fa56bd473dcb (patch) | |
tree | 00a960cf56b56a0387e63af15e921ae0168bc6ef /block/blk.h | |
parent | net/sched/sch_hfsc.c: remove leftover dlist and droplist (diff) | |
download | linux-ab12cb4742cf608cfee43c84fe07fa56bd473dcb.tar.xz linux-ab12cb4742cf608cfee43c84fe07fa56bd473dcb.zip |
net/sched/sch_hfsc.c: go passive after vt update
When a class is going passive, it should update its cl_vt first
to be consistent with the last dequeue operation.
Otherwise its cl_vt will be one packet behind and parent's cvtmax might
not be updated as well.
One possible side effect is if some class goes passive and subsequently
goes active /without/ its parent going passive - with cl_vt lagging one
packet behind - comparison made in init_vf() will be affected (same
period).
Signed-off-by: Michal Soltys <soltys@ziu.info>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions