diff options
author | Patrick McHardy <kaber@trash.net> | 2007-03-23 19:27:45 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 07:27:49 +0200 |
commit | 7c59e25f3186f26e85b13a318dbc4482d1d363e9 (patch) | |
tree | b6cfda6d2e14879e3f4373d261b65b80d156d1c1 /net/sched/sch_netem.c | |
parent | [NET_SCHED]: kill PSCHED_AUDIT_TDIFF (diff) | |
download | linux-7c59e25f3186f26e85b13a318dbc4482d1d363e9.tar.xz linux-7c59e25f3186f26e85b13a318dbc4482d1d363e9.zip |
[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 '')
-rw-r--r-- | net/sched/sch_netem.c | 2 |
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) &q->delay_cor, q->delay_dist); PSCHED_GET_TIME(now); - PSCHED_TADD2(now, delay, cb->time_to_send); + cb->time_to_send = now + delay; ++q->counter; ret = q->qdisc->enqueue(skb, q->qdisc); } else { |