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

Michael S. Tsirkin mst at mellanox.co.il
Mon Apr 24 14:27:48 PDT 2006


Quoting r. Sean Hefty <mshefty at ichips.intel.com>:
> Subject: Re: RFC: cma: need rdma_unbind
> 
> 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?

No, I don't want to disconnect yet - I am in the process of graceful
shutdown, I want to continue sending data.

-- 
MST



More information about the general mailing list