Re: sn9c10x list corruption in 2.6.18.1

From: Dave Jones
Date: Sun Oct 22 2006 - 14:16:06 EST


On Sun, Oct 22, 2006 at 01:46:52PM +0200, Luca Risolia wrote:

> > I found one area in the driver where we do list manipulation without any locking,
> > but I'm not entirely convinced that this is the source of the bug yet.
> Spinlocks are not necessary there, becouse that piece of code is already
> isolated when running, to prevent concurrent accesses to the list from within
> the irq handler.

ok

> The bug should be elsewhere (probably not in the driver).

But it only happens when the user unplugs the camera, and no other
webcam driver seems to be affected by this problem.

That's fairly conclusive to me that the driver is misbehaving.

Dave

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