Re: Request for net guru help: waitqueue oops

From: Petko Manolov (petkan@dce.bg)
Date: Wed Oct 04 2000 - 02:15:22 EST


Hans Grobler wrote:
>
> Ok. I originally had them outside locks as they appeared to be atomic. I
> moved them in incase they were the cause of the problem.

Don't bother about them - see include/linux/netdevice.h to be sure.

 
> The timer routines (there are 4) are used to switch hardware states and
> must therefore be mutually exclusive with respect to the interrupt handler.
> There are no bottom halves used in this driver. Andrew Morton suggested
> that the problem could be in my use of the skb pointers, which seems
> a likely candidate. I'll check that.

It might be, but it might not. Be careful about locking and calling
procedures which can sleep from interrupt context.

Sorry if i am not enough specific, i haven't seen the code ;-)

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



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:13 EST