Messages in this thread | | | Date | Fri, 2 Apr 2004 04:19:11 -0500 | From | Alan Cox <> | Subject | Re: [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/
| |