patch-2.4.19 linux-2.4.19/net/sched/sch_generic.c

Next file: linux-2.4.19/net/sched/sch_gred.c
Previous file: linux-2.4.19/net/sched/sch_api.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/net/sched/sch_generic.c linux-2.4.19/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 <= skb->dev->tx_queue_len) {
+	if (list->qlen <= qdisc->dev->tx_queue_len) {
 		__skb_queue_tail(list, skb);
 		qdisc->q.qlen++;
 		return 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)