Messages in this thread | | | Date | Thu, 23 Sep 1999 14:21:56 -0500 (CDT) | From | Oliver Xymoron <> | Subject | Re: 1000ms delay in networking stack or driver, new bug? |
| |
On Thu, 23 Sep 1999 kuznet@ms2.inr.ac.ru wrote:
> > Ok, I've managed to reproduce this. > > Thank you very much. Seems, I found the reason. > Please, try this patch. > > --- ../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; > } > }
That does indeed appear to fix it. The first couple pings returned after the network restarts may be delayed a bit, but it quickly settles into normal behaviour.
-- "Love the dolphins," she advised him. "Write by W.A.S.T.E.."
- 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/
| |