Re: [PATCH v1 08/12] IB/cma: Add net_dev and private data checks to RDMA CM

Jason Gunthorpe
2015-07-16T18:22:20Z

On Thu, Jul 16, 2015 at 12:01:55PM +0000, Liran Liss wrote:

> - Name space lookup is done based on BTH.pkey, private_data.IP, and
> optionally GRH.DGID (if present, for extra validation)

Just changing the pkey to BTH.pkey would be fine by me.

Using GRH.DGID if available instead of the primary path hack is also
smart, I pointed that out at the beginning..

Jason