Re: 1000ms delay in networking stack or driver, new bug?

kuznet@ms2.inr.ac.ru
Thu, 23 Sep 1999 20:47:45 +0400 (MSK DST)


Hello!

OK, let's try this.

Alexey

--- ../orig/linux/net/sched/sch_generic.c Sun Mar 21 17:41:05 1999
+++ linux/net/sched/sch_generic.c Thu Sep 23 20:43:33 1999
@@ -399,6 +399,8 @@
if (!del_timer(&dev_watchdog))
dev_watchdog.expires = jiffies + 5*HZ;
add_timer(&dev_watchdog);
+ if (dev->qdisc->h.forw)
+ printk("BUG on dev %s\n", dev->name);
}
end_bh_atomic();
}
@@ -419,6 +421,7 @@
for (hp = &qdisc_head.forw; (h = *hp) != &qdisc_head; hp = &h->forw) {
if (h == &qdisc->h) {
*hp = h->forw;
+ h->forw = NULL;
break;
}
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/