patch-2.4.25 linux-2.4.25/net/sched/sch_generic.c
Next file: linux-2.4.25/net/sched/sch_gred.c
Previous file: linux-2.4.25/net/sched/sch_fifo.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_generic.c
- Orig date:
2003-11-28 10:26:21.000000000 -0800
diff -urN linux-2.4.24/net/sched/sch_generic.c linux-2.4.25/net/sched/sch_generic.c
@@ -280,7 +280,7 @@
list = ((struct sk_buff_head*)qdisc->data) +
prio2band[skb->priority&TC_PRIO_MAX];
- if (list->qlen <= qdisc->dev->tx_queue_len) {
+ if (list->qlen < qdisc->dev->tx_queue_len) {
__skb_queue_tail(list, skb);
qdisc->q.qlen++;
qdisc->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)