linux-stable/drivers/infiniband
Steve Wise 7b72717a20 iw_cxgb4: correctly enforce the max reg_mr depth
The code was mistakenly using the length of the page array memory instead
of the depth of the page array.

This would cause MR creation to fail in some cases.

Fixes: 8376b86de7 ("iw_cxgb4: Support the new memory registration API")
Cc: stable@vger.kernel.org
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-06-25 15:27:51 -06:00
..
core 4.18-rc 2018-06-21 07:22:30 +09:00
hw iw_cxgb4: correctly enforce the max reg_mr depth 2018-06-25 15:27:51 -06:00
sw 4.18-rc 2018-06-21 07:22:30 +09:00
ulp treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
Kconfig RDMA/ucm: Mark UCM interface as BROKEN 2018-05-24 09:39:25 -06:00
Makefile