mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 14:43:16 +00:00
net_sched: sch_fq: remove one obsolete check in fq_dequeue()
After commit eeb84aa0d0aff ("net_sched: sch_fq: do not assume EDT packets are ordered"), all skbs get a non zero time_to_send in flow_queue_add() This means @time_next_packet variable in fq_dequeue() can no longer be zero. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6570bc79c0
commit
e9c43add67
@ -530,8 +530,7 @@ begin:
|
||||
fq_flow_set_throttled(q, f);
|
||||
goto begin;
|
||||
}
|
||||
if (time_next_packet &&
|
||||
(s64)(now - time_next_packet - q->ce_threshold) > 0) {
|
||||
if ((s64)(now - time_next_packet - q->ce_threshold) > 0) {
|
||||
INET_ECN_set_ce(skb);
|
||||
q->stat_ce_mark++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user