lkml.org 
[lkml]   [2004]   [Apr]   [2]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateFri, 2 Apr 2004 04:19:11 -0500
FromAlan Cox <>
SubjectRe: [CHECKER] Race condition in i2o_core.c
On Thu, Apr 01, 2004 at 05:46:00PM -0800, Ken Ashcraft wrote:
> Looks like there is a race condition in i2o_core_reply involving the 
> variable "evt_in".  Notice that the increment of evt_in is protected by the 
> lock, but the reads are not protected.  It looks like "events" should also 
> be protected by the lock.  If this is not a race condition, the increment 
> should not be inside the critical section.
> 
> Feedback is appreciated.

Looks a fair catch to me.
-
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: 2005-03-22 13:02    [W:0.230 / U:0.390 seconds]
©2003-2008 Jasper Spaans