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

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)