[ofa-general] [PATCH] cma: fix access to freed memory

Eli Cohen eli at dev.mellanox.co.il
Wed Aug 5 09:16:10 PDT 2009


On Wed, Aug 05, 2009 at 08:46:43AM -0700, Sean Hefty wrote:

> rdma_destroy_id and rdma_leave_multicast call ib_sa_free_multicast.  This call
> will block until the join callback completes or is canceled.  Can you describe
> the race with cma_ib_mc_handler in more detail?

That explains it. I was using a different "join" implementation for
RDMAoE without a "leave" operation so I had to use this kref solution.
So no need to this patch. I will provide a distinct solution for the RDMAoE
case.

Thanks.




More information about the general mailing list