> The lifetime if each cm_id is clearly defined: > > cm_create_cm_id() > cm_ref_id() / cm_deref_id() > cm_destroy_id() > > The fact the CM might share a listen (and only a listen) ID behind the > scenes is not the caller's problem. That is an implementation choice, > each caller stands alone and uses the API properly, assuming it is the > only user of the returned cm_id. Actually, I seriously question why the ib_cm should be modified at all for any of this. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html