patch-2.3.99-pre7 linux/net/sched/sch_generic.c

Next file: linux/net/sched/sch_tbf.c
Previous file: linux/net/rose/rose_loopback.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/net/sched/sch_generic.c linux/net/sched/sch_generic.c
@@ -513,7 +513,7 @@
         }
 #endif
 	BUG_TRAP(dev->qdisc_list == NULL);
-	BUG_TRAP(dev->watchdog_timer.prev == NULL);
+	BUG_TRAP(!timer_pending(&dev->watchdog_timer));
 	dev->qdisc_list = NULL;
 	spin_unlock_bh(&dev->queue_lock);
 	write_unlock(&qdisc_tree_lock);

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