]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf7c8d6c738d551a0939d2c2e3c4c233a667b27b1
tree2751aa5f3338e48acb421dc7c772fd7e9a908f5e
parentbe25c6b2a26892eec387d62a2a8cff1e5e813a45
[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