Michael S. Tsirkin wrote:
I just tested this and this does not seem to be how it works:
if the socket is in TIME_WAIT state, SO_REUSEADDR let's you bind another
one to this port.
If the socket is not in TIME_WAIT state, you still get EADDRINUSE.

socketfaq seems to agree
http://www.unixguide.net/network/socketfaq/4.5.shtml

And CMA does not know about socket state - that's managed by ULP.

Would releasing the port from within rdma_disconnect() do what you need?

- Sean
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to