RDMA/addr: Fix resolution of local IPv6 addresses
authorDavid J. Wilder <dwilder@us.ibm.com>
Wed, 7 Oct 2009 23:03:18 +0000 (16:03 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 7 Oct 2009 23:03:18 +0000 (16:03 -0700)
commit85f20b39fd44310a163a9b33708fea57f08a4e40
tree98deeeda2caacf8eee7c0fbf9274a0ee02c24d53
parent54e05f15ccb510c0fb3b03dfe9186811021fd5ad
RDMA/addr: Fix resolution of local IPv6 addresses

This patch allows a local IPv6 address to be resolved by rdma_cm.

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"

Addresses: https://bugs.openfabrics.org/show_bug.cgi?id=1759
Signed-off-by: David Wilder <dwilder@us.ibm.com>
Acked-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/addr.c