commit | 43b752daae9445a3b2b075a236840d801fce1593 | [log] [tgz] |
---|---|---|
author | Hefty, Sean <sean.hefty@intel.com> | Mon May 09 22:06:10 2011 -0700 |
committer | Roland Dreier <roland@purestorage.com> | Mon May 09 22:06:10 2011 -0700 |
tree | 0fb5fabb3bebcbc707a9b1ab6f4d53f5e7fe2cf3 | |
parent | 693d92a1bbc9e42681c42ed190bd42b636ca876f [diff] |
RDMA/cma: Fix handling of IPv6 addressing in cma_use_port 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>