From: Leon Romanovsky <leonro@xxxxxxxxxxxx> Hi, This is second version of "RDMA/mlx5: Check that supplied blue flame index doesn't overflow" patch. I added new cleanup patch to reduce unneeded 3 alloc_bfreg calls. In the original patch, I changed variables types and added overflow check for dynamic allocations. Thanks Leon Romanovsky (2): RDMA/mlx5: Melt consecutive calls to alloc_bfreg() in one call RDMA/mlx5: Check that supplied blue flame index doesn't overflow drivers/infiniband/hw/mlx5/mlx5_ib.h | 8 +---- drivers/infiniband/hw/mlx5/qp.c | 62 ++++++++++++------------------------ 2 files changed, 21 insertions(+), 49 deletions(-) -- 2.14.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html