patch-2.3.47 linux/net/sched/sch_tbf.c

Next file: linux/net/sched/sch_teql.c
Previous file: linux/net/sched/sch_generic.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.46/linux/net/sched/sch_tbf.c linux/net/sched/sch_tbf.c
@@ -226,7 +226,7 @@
 			return skb;
 		}
 
-		if (!test_bit(LINK_STATE_XOFF, &sch->dev->state)) {
+		if (!netif_queue_stopped(sch->dev)) {
 			long delay = PSCHED_US2JIFFIE(max(-toks, -ptoks));
 
 			if (delay == 0)

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