[openib-general] [PATCH] fix cma_leave_mc_groups

Sean Hefty mshefty at ichips.intel.com
Wed Sep 27 14:10:21 PDT 2006


Krishna Kumar wrote:
> - cma_leave_mc_groups can race with other routines updating
>   or reading the mclist, so use lock. Eg while doing a
>   rdma_destroy_id(), other processes could be looking at
>   this id and de-referencing mclist.

I don't think that there's an issue here.

The mc_list is only accessed by other direct API calls.  For example, 
rdma_join_multicast() or rdma_leave_multicast().  A user cannot call 
rdma_destroy_id() with other API calls.

- Sean




More information about the general mailing list