|
@@ -366,11 +366,11 @@ sfq_enqueue(struct sk_buff *skb, struct Qdisc *sch)
|
|
if (slot->qlen == 1) { /* The flow is new */
|
|
if (slot->qlen == 1) { /* The flow is new */
|
|
if (q->tail == NULL) { /* It is the first flow */
|
|
if (q->tail == NULL) { /* It is the first flow */
|
|
slot->next = x;
|
|
slot->next = x;
|
|
|
|
+ q->tail = slot;
|
|
} else {
|
|
} else {
|
|
slot->next = q->tail->next;
|
|
slot->next = q->tail->next;
|
|
q->tail->next = x;
|
|
q->tail->next = x;
|
|
}
|
|
}
|
|
- q->tail = slot;
|
|
|
|
slot->allot = q->scaled_quantum;
|
|
slot->allot = q->scaled_quantum;
|
|
}
|
|
}
|
|
if (++sch->q.qlen <= q->limit)
|
|
if (++sch->q.qlen <= q->limit)
|