Skip to content

Commit

Permalink
net_sched: sch_fq: no longer use skb_is_tcp_pure_ack()
Browse files Browse the repository at this point in the history
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: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Oct 16, 2018
1 parent a7a2563 commit 7baf33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sched/sch_fq.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ static struct sk_buff *fq_dequeue(struct Qdisc *sch)
}

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),
f->time_next_packet);

Expand Down

0 comments on commit 7baf33b

Please sign in to comment.