1
0
Fork 0
alistair23-linux/drivers/infiniband/hw
Kamal Heib 4279ff6dea RDMA/cxgb4: Validate the number of CQEs
[ Upstream commit 6d8285e604 ]

Before create CQ, make sure that the requested number of CQEs is in the
supported range.

Fixes: cfdda9d764 ("RDMA/cxgb4: Add driver for Chelsio T4 RNIC")
Link: https://lore.kernel.org/r/20201108132007.67537-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:51:11 +01:00
..
bnxt_re RDMA/bnxt_re: Set queue pair state when being queried 2020-12-30 11:51:02 +01:00
cxgb3 RDMA/{cxgb3, cxgb4, i40iw}: Remove common code 2019-08-12 10:19:43 -04:00
cxgb4 RDMA/cxgb4: Validate the number of CQEs 2020-12-30 11:51:11 +01:00
efa RDMA/efa: Clear the admin command buffer prior to its submission 2019-12-31 16:45:28 +01:00
hfi1 RDMA/hfi1: Correct an interlock issue for TID RDMA WRITE request 2020-08-26 10:40:52 +02:00
hns RDMA/hns: Bugfix for memory window mtpt configuration 2020-12-02 08:49:54 +01:00
i40iw RDMA/i40iw: Address an mmap handler exploit in i40iw 2020-12-08 10:40:28 +01:00
mlx4 IB/mlx4: Adjust delayed work when a dup is observed 2020-10-29 09:57:46 +01:00
mlx5 RDMA/mlx5: Disable IB_DEVICE_MEM_MGT_EXTENSIONS if IB_WR_REG_MR can't work 2020-10-29 09:57:50 +01:00
mthca RDMa/mthca: Work around -Wenum-conversion warning 2020-12-30 11:51:07 +01:00
ocrdma RDMA: Introduce ib_port_phys_state enum 2019-08-12 10:18:52 -04:00
qedr RDMA/qedr: Fix memory leak in iWARP CM 2020-11-05 11:43:12 +01:00
qib IB/qib: Call kobject_put() when kobject_init_and_add() fails 2020-06-03 08:21:19 +02:00
usnic mm/gup: add make_dirty arg to put_user_pages_dirty_lock() 2019-09-24 15:54:08 -07:00
vmw_pvrdma RDMA/pvrdma: Fix missing kfree() in pvrdma_register_device() 2020-11-24 13:29:05 +01:00
Makefile rdma: Remove nes 2019-06-13 09:59:49 -04:00