RE: [PATCH] RDMA/cm: check that idr_pre_get didn't fail and clean it in error flow

2011-11-03 Thread Hefty, Sean
> The function idr_pre_get may fail, so there is a need to check the status of > it. Since this function allocate resources, we need to clean them during the > resource cleaning in case of error. We should add the cleanup code below, but I don't think we care if idr_pre_get fails here. We'll jus

RE: [PATCH] RDMA/cm: check that idr_pre_get didn't fail and clean it in error flow

2011-11-03 Thread Hefty, Sean
> Do you want me to resent a new patch only with the cleanup code? If you have time, please do. Thanks -- 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