mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
mlx5: Fix mlx5_ib_map_mr_sg mr length
commit0a49f2c31cupstream. In case we got an initial sg_offset, we need to account for it in the mr length. Fixes:ff2ba99365("IB/core: Add passing an offset into the SG to ib_map_mr_sg") Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Tested-by: Israel Rukshin <israelr@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ece453e8b0
commit
cb5cf8aaba
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue