lkml.org 
[lkml]   [1999]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: 1000ms delay in networking stack or driver, new bug?
Date
Hello!

> Ok, I've managed to reproduce this.

Thank you very much. Seems, I found the reason.
Please, try this patch.

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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.067 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site