summaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorYixian Liu <liuyixian@huawei.com>2018-11-23 10:46:07 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-11-23 23:11:47 +0300
commitca088320a02537f36c243ac21794525d8eabb3bd (patch)
tree3e7144d8b30ecb6bf87d9bd1431f58cf8fb2b357 /lib/memory-notifier-error-inject.c
parent24c3456c8d5ee6fc1933ca40f7b4406130682668 (diff)
downloadlinux-ca088320a02537f36c243ac21794525d8eabb3bd.tar.xz
RDMA/hns: Bugfix pbl configuration for rereg mr
Current hns driver assigned the first two PBL page addresses from previous registered MR to the hardware when reregister MR changing the memory locations occurred. This will lead to PBL addressing error as the PBL has already been released. This patch fixes this wrong assignment by using the page address from new allocated PBL. Fixes: a2c80b7b4119 ("RDMA/hns: Add rereg mr support for hip08") Signed-off-by: Yixian Liu <liuyixian@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions