[PATCH] ibacm/libacm.c: Use IPv4 rather than IPv6 for ACM server communication

2012-04-05 Thread Hal Rosenstock
When both IPv4 and IPv6 are running, getaddrinfo indicates IPv6 rather than IPv4 and that currently causes a failure to connect to the ACM server. Fix is to set the address family in the hint to getaddrinfo to IPv4. Signed-off-by: Hal Rosenstock h...@mellanox.com --- diff --git a/src/libacm.c

Re: [PATCH] ibacm/libacm.c: Use IPv4 rather than IPv6 for ACM server communication

2012-04-05 Thread Jason Gunthorpe
On Thu, Apr 05, 2012 at 04:05:24PM -0400, Hal Rosenstock wrote: When both IPv4 and IPv6 are running, getaddrinfo indicates IPv6 rather than IPv4 and that currently causes a failure to connect to the ACM server. Fix is to set the address family in the hint to getaddrinfo to IPv4. We are in

RE: [PATCH] ibacm/libacm.c: Use IPv4 rather than IPv6 for ACM server communication

2012-04-05 Thread Hefty, Sean
thanks - applied I will add a separate patch to support IPv6, since librdmacm should be updated as well. -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html