[NET_SCHED]: sch_cbq: fix cbq_undelay_prio for non-active priorites
authorPatrick McHardy <kaber@trash.net>
Fri, 16 Mar 2007 08:21:40 +0000 (01:21 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:26:11 +0000 (22:26 -0700)
commite9054a339eb275c756efeeaee42af484ac72a3f4
tree2751aa5f3338e48acb421dc7c772fd7e9a908f5e
parent88a993540a65c38865f83961520494b4ad5d0363
[NET_SCHED]: sch_cbq: fix cbq_undelay_prio for non-active priorites

cbq_undelay_prio is supposed to return a time delta, but returns the
current time for non-active priorities, causing cbq_undelay to mark
the priority as active and schedule a timer for twice the current
time.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_cbq.c