Commit 7baf33bd authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

net_sched: sch_fq: no longer use skb_is_tcp_pure_ack()

With the new EDT model, sch_fq no longer has to special
case TCP pure acks, since their skb->tstamp will allow them
being sent without pacing delay.
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a7a25630
...@@ -444,7 +444,7 @@ static struct sk_buff *fq_dequeue(struct Qdisc *sch) ...@@ -444,7 +444,7 @@ static struct sk_buff *fq_dequeue(struct Qdisc *sch)
} }
skb = f->head; skb = f->head;
if (skb && !skb_is_tcp_pure_ack(skb)) { if (skb) {
u64 time_next_packet = max_t(u64, ktime_to_ns(skb->tstamp), u64 time_next_packet = max_t(u64, ktime_to_ns(skb->tstamp),
f->time_next_packet); f->time_next_packet);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment