[openib-general] Re: RFC: cma: need rdma_unbind

Sean Hefty mshefty at ichips.intel.com
Mon Apr 24 14:23:26 PDT 2006


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



More information about the general mailing list