diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-10-06 19:52:37 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-10-06 14:23:00 -0400 |
commit | f022fa88ce6abc83c6e678a890df5c1e4b0eaf89 (patch) | |
tree | feea7955246663f847bafb3e6b6b8c3efae7029f /lib/notifier-error-inject.h | |
parent | 3805eade3b7c4a5ad593525703c2c82a84fd9b13 (diff) | |
download | blackbird-obmc-linux-f022fa88ce6abc83c6e678a890df5c1e4b0eaf89.tar.gz blackbird-obmc-linux-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 'lib/notifier-error-inject.h')
0 files changed, 0 insertions, 0 deletions