On Sat, Aug 4, 2012 at 11:48 PM, Hefty, Sean <sean.he...@intel.com> wrote: > Roland, there's a race here where ucma_set_event_context() copies ctx->uid to > the event structure outside of the mutex. Once the mutex is acquired, > ctx->uid is checked. However, the uid could have changed between saving it > off to the event and checking it.
OK. So then this patch, which moves the mutex acquire up to cover ucma_set_event_context() seems like a sensible fix? - R. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html