linux/drivers/infiniband/hw
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
..
bnxt_re RDMA/bnxt_re: Fix broken RoCE driver due to recent L2 driver changes 2018-05-25 11:03:47 -06:00
cxgb3 treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
cxgb4 iw_cxgb4: correctly enforce the max reg_mr depth 2018-06-25 15:27:51 -06:00
hfi1 treewide: Use array_size() in kvzalloc_node() 2018-06-12 16:19:22 -07:00
hns treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
i40iw Merge branch 'mr_fix' into git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma for-next 2018-05-28 11:44:35 -06:00
mlx4 4.18-rc 2018-06-21 07:22:30 +09:00
mlx5 4.18-rc 2018-06-21 07:22:30 +09:00
mthca treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
nes treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
ocrdma treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
qedr 4.18-rc 2018-06-21 07:22:30 +09:00
qib treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
usnic treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
vmw_pvrdma RDMA: Use ib_gid_attr during GID modification 2018-04-03 21:34:16 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00