[NET_SCHED]: sch_htb: fix event cache time calculation
authorPatrick McHardy <kaber@trash.net>
Thu, 24 May 2007 06:39:54 +0000 (23:39 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 24 May 2007 23:36:56 +0000 (16:36 -0700)
commit2e4b3b0e8734d1173c96c6f5d8a8dd6728950b56
tree0fbdf481ad4ef35c1bb99ac16c7db0fd240f86ed
parent1b07a95a5be77dc1291de12b216f930aee04eb4f
[NET_SCHED]: sch_htb: fix event cache time calculation

The event cache time must be an absolute value, when no event exists
it is incorrectly set to 1s instead of 1s in the future.

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