diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-04-23 14:31:42 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-05-01 14:56:07 -0400 |
commit | 0a49f2c31c3efbeb0de3e4b5598764887f629be2 (patch) | |
tree | 5a284c33c581cb3a984ab56a6ba13aa96f038a0e /drivers/infiniband/hw/mlx4/cm.c | |
parent | d52418502e288b5c7e9e2e6cf1de5f1d3d79d2e1 (diff) | |
download | lwn-0a49f2c31c3efbeb0de3e4b5598764887f629be2.tar.gz lwn-0a49f2c31c3efbeb0de3e4b5598764887f629be2.zip |
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: ff2ba9936591 ("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>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/cm.c')
0 files changed, 0 insertions, 0 deletions