patch-2.4.25 linux-2.4.25/net/sched/sch_red.c
Next file: linux-2.4.25/net/sched/sch_sfq.c
Previous file: linux-2.4.25/net/sched/sch_prio.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2004-02-18 05:36:32.000000000 -0800
- Orig file:
linux-2.4.24/net/sched/sch_red.c
- Orig date:
2003-08-25 04:44:44.000000000 -0700
diff -urN linux-2.4.24/net/sched/sch_red.c linux-2.4.25/net/sched/sch_red.c
@@ -257,7 +257,7 @@
if (q->qave < q->qth_min) {
q->qcount = -1;
enqueue:
- if (sch->stats.backlog <= q->limit) {
+ if (sch->stats.backlog + skb->len <= q->limit) {
__skb_queue_tail(&sch->q, skb);
sch->stats.backlog += skb->len;
sch->stats.bytes += skb->len;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)