[openib-general] [PATCH] CMA: local/loopback address handling

Sean Hefty mshefty at ichips.intel.com
Mon Mar 27 09:41:41 PST 2006


Michael S. Tsirkin wrote:
> Apparently, on bind, loopback addresses such as 127.0.0.1 in TCP have the same
> meaning as zeronet ANY address.
> 
> Specifically,
> getaddrinfo(NULL, port, &hints, &res);
> 
> seems to return 127.0.0.1 as interface.
> 
> The following patch makes it work for CMA as well.
> I also changed cma_loopback_addr to match any address in LOOPBACK
> subnet.

Thanks - applied.



More information about the general mailing list