]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Fix the bug with rq sge
authoroulijun <oulijun@huawei.com>
Fri, 4 May 2018 02:57:09 +0000 (10:57 +0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 9 May 2018 14:45:18 +0000 (10:45 -0400)
commit048cfaff661442f9360479e7adb3d318f9642592
tree7c3937d8ac0ccd701adc41f7c1947bce2c6d3e0b
parent26c4541921267157ff12966162e175f399b527ae
RDMA/hns: Fix the bug with rq sge

When received multiply rq sge, it should tag the
invalid lkey for the last non-zero length sge
when have some sges' length are zero. This patch
fixes it.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c