aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sched/sch_sfq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_sfq.c b/net/sched/sch_sfq.c
index d329a8a72357..e9d5c911576d 100644
--- a/net/sched/sch_sfq.c
+++ b/net/sched/sch_sfq.c
@@ -366,11 +366,11 @@ sfq_enqueue(struct sk_buff *skb, struct Qdisc *sch)
366 if (slot->qlen == 1) { /* The flow is new */ 366 if (slot->qlen == 1) { /* The flow is new */
367 if (q->tail == NULL) { /* It is the first flow */ 367 if (q->tail == NULL) { /* It is the first flow */
368 slot->next = x; 368 slot->next = x;
369 q->tail = slot;
369 } else { 370 } else {
370 slot->next = q->tail->next; 371 slot->next = q->tail->next;
371 q->tail->next = x; 372 q->tail->next = x;
372 } 373 }
373 q->tail = slot;
374 slot->allot = q->scaled_quantum; 374 slot->allot = q->scaled_quantum;
375 } 375 }
376 if (++sch->q.qlen <= q->limit) 376 if (++sch->q.qlen <= q->limit)