[openib-general] [PATCH] librdmacm: updated librdmacm to work with proposed 2.6.20 kernel CMA

Sean Hefty mshefty at ichips.intel.com
Mon Jan 8 11:11:11 PST 2007


> I just noticed that once i apply the patch, the last + lines (that is 
> pthread_mutex_lock, while loop doing pthread_cond_wait and then 
> pthread_mutex_unlock) become part of rdma_leave_multicast which seems to 
> me strictly buggy as no one is going to wake up this code.

The leave must wait until all events have been reported on the multicast group. 
  There can be more than one event on a group if an error occurs.  See 
ucma_complete_mc_event() for where the condition is signaled.

- Sean




More information about the general mailing list