Sean- Here is a patch to allow a local ipv6 address to be resolved by rdma_cm. I reported this in https://bugs.openfabrics.org/show_bug.cgi?id=1759
To reproduce the problem: rping -s -v -a ::0 & rping -c -v -a <ipv6 address local to this system> rdma_resolve_addr error -1 Local ipv6 address was obtained with "ip addr show ib0" Signed-off-by: David Wilder <[email protected]> diff -Naurp ofa_kernel-1.5.orig/drivers/infiniband/core/addr.c ofa_kernel-1.5/drivers/infiniband/core/addr.c --- ofa_kernel-1.5.orig/drivers/infiniband/core/addr.c 2009-09-25 12:19:44.000000000 -0700 +++ ofa_kernel-1.5/drivers/infiniband/core/addr.c 2009-09-25 12:22:23.000000000 -0700 @@ -393,7 +393,7 @@ static int addr_resolve_local(struct soc for_each_netdev(&init_net, dev) if (ipv6_chk_addr(&init_net, - &((struct sockaddr_in6 *) addr)->sin6_addr, + &((struct sockaddr_in6 *) dst_in)->sin6_addr, dev, 1)) break; -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
