aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sched/sch_fq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/sch_fq.c b/net/sched/sch_fq.c
index 9b05924cc386..2a50f5c62070 100644
--- a/net/sched/sch_fq.c
+++ b/net/sched/sch_fq.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * net/sched/sch_fq.c Fair Queue Packet Scheduler (per flow pacing) 2 * net/sched/sch_fq.c Fair Queue Packet Scheduler (per flow pacing)
3 * 3 *
4 * Copyright (C) 2013 Eric Dumazet <edumazet@google.com> 4 * Copyright (C) 2013-2015 Eric Dumazet <edumazet@google.com>
5 * 5 *
6 * This program is free software; you can redistribute it and/or 6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License 7 * modify it under the terms of the GNU General Public License
@@ -471,7 +471,7 @@ begin:
471 goto out; 471 goto out;
472 472
473 rate = q->flow_max_rate; 473 rate = q->flow_max_rate;
474 if (skb->sk && skb->sk->sk_state != TCP_TIME_WAIT) 474 if (skb->sk)
475 rate = min(skb->sk->sk_pacing_rate, rate); 475 rate = min(skb->sk->sk_pacing_rate, rate);
476 476
477 if (rate != ~0U) { 477 if (rate != ~0U) {