Roland Dreier wrote:
 > - wait_for_completion(&target->done);

How do you avoid leaking connection on module unload etc?  Don't we have
to wait for the disconnect to finish somewhere?

 - R.
Are you talking about cm_id?
I think that we wait because we want to reuse cq/qp associate with the connection.
On module unload, we destroy cm_id, cq, qp altogether.

-vu
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to