aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_netem.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-03-23 14:27:45 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:27:49 -0400
commit7c59e25f3186f26e85b13a318dbc4482d1d363e9 (patch)
treeb6cfda6d2e14879e3f4373d261b65b80d156d1c1 /net/sched/sch_netem.c
parent26e252df1e6e5b68eb790e4a4baf745aa3870038 (diff)
[NET_SCHED]: kill PSCHED_TADD/PSCHED_TADD2
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_netem.c')
-rw-r--r--net/sched/sch_netem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_netem.c b/net/sched/sch_netem.c
index bc4284396fcb..6044ae77d5da 100644
--- a/net/sched/sch_netem.c
+++ b/net/sched/sch_netem.c
@@ -218,7 +218,7 @@ static int netem_enqueue(struct sk_buff *skb, struct Qdisc *sch)
218 &q->delay_cor, q->delay_dist); 218 &q->delay_cor, q->delay_dist);
219 219
220 PSCHED_GET_TIME(now); 220 PSCHED_GET_TIME(now);
221 PSCHED_TADD2(now, delay, cb->time_to_send); 221 cb->time_to_send = now + delay;
222 ++q->counter; 222 ++q->counter;
223 ret = q->qdisc->enqueue(skb, q->qdisc); 223 ret = q->qdisc->enqueue(skb, q->qdisc);
224 } else { 224 } else {