mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
[NET_SCHED]: kill PSCHED_TADD/PSCHED_TADD2
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
26e252df1e
commit
7c59e25f31
3 changed files with 7 additions and 9 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue