[ewg] [PATCH RFC v3] RDMA/CMA: Allocate PS_TCP ports from the host TCP port space.

Or Gerlitz ogerlitz at voltaire.com
Wed Nov 12 22:39:15 PST 2008


Tung, Chien Tin wrote:
> 3) and calls cma_alloc_any_port() to allocate a port number which may not correspond to the port number for the bound socket.
>
> With the addition of getnam(), sin_port is filled in with the reserved port number and cma_any_port will evaluate to false and the reserved port will get used instead.
So the only problem was carving a port from the proprietary ports pool 
of the rdma-cm where a port was already allocated from the network stack?

Or.




More information about the ewg mailing list