From: Hefty, Sean Date: Tue, 10 May 2011 05:06:10 +0000 (-0700) Subject: RDMA/cma: Fix handling of IPv6 addressing in cma_use_port X-Git-Tag: v3.0-rc1~409^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43b752daae9445a3b2b075a236840d801fce1593;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed