]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
rdma/cm: fix handling of ipv6 addressing in cma_use_port
authorSean Hefty <sean.hefty@intel.com>
Wed, 17 Mar 2010 18:09:03 +0000 (10:09 -0800)
committerSean Hefty <sean.hefty@intel.com>
Wed, 17 Mar 2010 18:09:03 +0000 (10:09 -0800)
commit5c291d0e09b51b299f78c1995fa64a43397504d0
treeb25dd2e7489571e901d4eaa0bb9c165d6f4e1901
parent958bcdea64f472e992547852a33a15cbf91a9795
rdma/cm: fix handling of ipv6 addressing in cma_use_port

cma_use_port is coded assuming 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>
drivers/infiniband/core/cma.c