RDMA/cma: Fix handling of IPv6 addressing in cma_use_port
authorHefty, Sean <sean.hefty@intel.com>
Tue, 10 May 2011 05:06:10 +0000 (22:06 -0700)
committerRoland Dreier <roland@purestorage.com>
Tue, 10 May 2011 05:06:10 +0000 (22:06 -0700)
cma_use_port() assumes that the sockaddr is an IPv4 address.  Since
IPv6 addressing is supported (and also to support other address
families) make the code more generic in its address handling.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found