From: Jason Gunthorpe Date: Thu, 30 Jul 2015 23:22:22 +0000 (-0600) Subject: IB/srp: Use pd->local_dma_lkey X-Git-Tag: omap-for-v4.3/fixes-rc1~52^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6bf5f48d2adc443689c5e627bcd559b00201e5c;p=pandora-kernel.git IB/srp: Use pd->local_dma_lkey Replace all leys with pd->local_dma_lkey. This driver does not support iWarp, so this is safe. The insecure use of ib_get_dma_mr is thus isolated to an rkey, and will have to be fixed separately. Signed-off-by: Jason Gunthorpe Reviewed-by: Sagi Grimberg Reviewed-by: Bart Van Assche Signed-off-by: Doug Ledford --- Reading git-diff-tree failed