lkml.org 
[lkml]   [2006]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sn9c10x list corruption in 2.6.18.1
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-22 20:19    [W:0.060 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site