Re: [PATCH 06/10] IB/iser: Use pd->local_dma_lkey

Sagi Grimberg
2015-07-23T10:49:12Z

On 7/23/2015 2:34 AM, Jason Gunthorpe wrote:
> 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 this
> looks trivially fixed by forcing the use of registration in a future
> patch.
>
> Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>

Looks good.

Reviewed-by: Sagi Grimberg <sagig@mellanox.com>