aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2015-10-06 19:52:37 +0300
committerDoug Ledford <dledford@redhat.com>2015-10-06 14:23:00 -0400
commitf022fa88ce6abc83c6e678a890df5c1e4b0eaf89 (patch)
treefeea7955246663f847bafb3e6b6b8c3efae7029f /drivers/infiniband
parentusnic: add missing clauses to BSD license (diff)
downloadlinux-dev-f022fa88ce6abc83c6e678a890df5c1e4b0eaf89.tar.xz
linux-dev-f022fa88ce6abc83c6e678a890df5c1e4b0eaf89.zip
xprtrdma: Don't require LOCAL_DMA_LKEY support for fastreg
There is no need to require LOCAL_DMA_LKEY support as the PD allocation makes sure that there is a local_dma_lkey. Also correctly set a return value in error path. This caused a NULL pointer dereference in mlx5 which removed the support for LOCAL_DMA_LKEY. Fixes: bb6c96d72879 ("xprtrdma: Replace global lkey with lkey local to PD") Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Acked-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions