[openib-general] [PATCH] cma: protect against adding device during destruction

Michael S. Tsirkin mst at mellanox.co.il
Thu Aug 31 12:37:07 PDT 2006


Quoting r. Sean Hefty <sean.hefty at intel.com>:
> Subject: [PATCH] cma: protect against adding device during destruction
> 
> Can you see if this patch helps any?
> 
> This closes a window where address resolution can attach an rdma_cm_id
> to a device during destruction of the rdma_cm_id.  This can result in
> the rdma_cm_id remaining in the device list after its memory has been
> freed.
> 
> Signed-off-by: Sean Hefty <sean.hefty at intel.com>
 

I'll test some, but the problem hasn't reappeared since.
The patch looks right, I'd say push it for 2.6.18.

-- 
MST




More information about the general mailing list