rdma: bugfix: make IPv6 support work
authorMichael R. Hines <mrhines@us.ibm.com>
Sun, 4 Aug 2013 02:54:48 +0000 (22:54 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Aug 2013 16:47:46 +0000 (11:47 -0500)
commitb58c8552bd466aaab67c59dedeb846838082cad6
tree0f00b7f504050aac76627cf8c114691095a79071
parentbe2f78b6b062eec5170e2612299fb8953046993f
rdma: bugfix: make IPv6 support work

RDMA does not use sockets, so we cannot use many of the socket
helper functions, but we *do* use inet_parse() which gives
RDMA all the necessary details of the connection parameters.

However, when testing with libvirt, a simple IPv6 migration test failed
because we were not using getaddrinfo() properly.

This makes IPv6 migration over RDMA work.

Signed-off-by: Michael R. Hines <mrhines@us.ibm.com>
Message-id: 1375584894-9917-2-git-send-email-mrhines@linux.vnet.ibm.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
migration-rdma.c