]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched/sch_hfsc.c: anchor virtual curve at proper vt in hfsc_change_fsc()
authorMichal Soltys <soltys@ziu.info>
Thu, 30 Jun 2016 00:26:48 +0000 (02:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jul 2016 09:03:43 +0000 (05:03 -0400)
commita2b1d1b560288fc7d7e570be15d478f69dc269b3
tree33367ce93af815a7be03dd351bf044276789dc41
parentf918151f6dbc70b709248ed11a0ccc8a5299c85d
net/sched/sch_hfsc.c: anchor virtual curve at proper vt in hfsc_change_fsc()

cl->cl_vt alone is relative only to the current backlog period, while
the curve operates on cumulative virtual time. This patch adds missing
cl->cl_vtoff.

Signed-off-by: Michal Soltys <soltys@ziu.info>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_hfsc.c