From: Jason Gunthorpe Date: Mon, 20 Apr 2015 20:01:11 +0000 (-0600) Subject: RDMA/CMA: Canonize IPv4 on IPV6 sockets properly X-Git-Tag: omap-for-v4.2/omap1-v2~26^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=285214409a9e5fceba2215461b4682b6069d8e77;p=pandora-kernel.git RDMA/CMA: Canonize IPv4 on IPV6 sockets properly When accepting a new IPv4 connect to an IPv6 socket, the CMA tries to canonize the address family to IPv4, but does not properly process the listening sockaddr to get the listening port, and does not properly set the address family of the canonized sockaddr. Fixes: e51060f08a61 ("IB: IP address based RDMA connection manager") Cc: Reported-By: Yotam Kenneth Signed-off-by: Jason Gunthorpe Tested-by: Haggai Eran Signed-off-by: Doug Ledford --- Reading git-diff-tree failed