Re: [LMP-DEVEL] 2.0.33 lockup - reproducible - new info

Jon Lewis (jlewis@inorganic5.fdt.net)
Wed, 25 Feb 1998 00:31:37 -0500 (EST)


On Tue, 24 Feb 1998, Dan Hollis wrote:

> 1855 for (;;) {
> 1856 if (prev == (struct sk_buff *) list || !after(prev->seq, seq))
> 1857 break;
> 1858 next = prev;
> 1859 prev = prev->prev;
> 1860 }

So it seems you're getting stuck in here. Not knowing the code or what
could be broken that you're getting stuck here...how crazy an idea would
it be to insert some kind of jiffy counter in such potentially "infinite
loops" to abort the loop after "too much" time has been spent waiting for
some condition that's apparently never going to happen?

Maybe even put in a printk to make noise about having to abort the
loop...so the problem isn't totally swept under the rug, but systems don't
lockup either.

------------------------------------------------------------------
Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will
Network Administrator | be proof-read for $199/message.
Florida Digital Turnpike |
______http://inorganic5.fdt.net/~jlewis/pgp for PGP public key____

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu