Skip to content
Commit 0a49f2c3 authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Doug Ledford
Browse files

mlx5: Fix mlx5_ib_map_mr_sg mr length

In case we got an initial sg_offset, we need to
account for it in the mr length.

Cc: stable@vger.kernel.org
Fixes: ff2ba993

 ("IB/core: Add passing an offset into the SG to
ib_map_mr_sg")
Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
Tested-by: default avatarIsrael Rukshin <israelr@mellanox.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent d5241850
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment