linux/drivers/infiniband/hw/mlx5
Patrisious Haddad 36ab7ada64 RDMA/mlx5: Add check for srq max_sge attribute
max_sge attribute is passed by the user, and is inserted and used
unchecked, so verify that the value doesn't exceed maximum allowed value
before using it.

Fixes: e126ba97db ("mlx5: Add driver for Mellanox Connect-IB adapters")
Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Link: https://lore.kernel.org/r/277ccc29e8d57bfd53ddeb2ac633f2760cf8cdd0.1716900410.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2024-06-21 10:19:36 -03:00
..
ah.c
cmd.c
cmd.h
cong.c IB/mlx5: Don't expose debugfs entries for RRoCE general parameters if not supported 2024-01-31 11:15:29 +02:00
counters.c IB/mlx5: Add HW counter called rx_dct_connect 2023-07-31 11:40:32 +03:00
counters.h
cq.c net/mlx5: Allocate completion EQs dynamically 2023-08-07 10:53:52 -07:00
devx.c RDMA/mlx5: Relax DEVX access upon modify commands 2024-01-31 11:15:39 +02:00
devx.h
dm.c RDMA/mlx5: Support handling of SW encap ICM area 2023-12-12 09:03:57 +02:00
dm.h
doorbell.c
fs.c RDMA/mlx5: Fix mutex unlocking on error flow for steering anchor creation 2023-09-26 12:29:40 +03:00
fs.h
gsi.c
ib_rep.c
ib_rep.h
ib_virt.c
Kconfig
macsec.c RDMA/mlx5: Handles RoCE MACsec steering rules addition and deletion 2023-08-20 12:35:24 +03:00
macsec.h RDMA/mlx5: Handles RoCE MACsec steering rules addition and deletion 2023-08-20 12:35:24 +03:00
mad.c RDMA/mlx5: Fix port number for counter query in multi-port configuration 2024-04-08 13:33:10 +03:00
main.c RDMA/mlx5: Fix unwind flow as part of mlx5_ib_stage_init_init 2024-06-21 10:19:36 -03:00
Makefile RDMA/mlx5: Implement MACsec gid addition and deletion 2023-08-20 12:35:24 +03:00
mem.c IB/mlx5: Use __iowrite64_copy() for write combining stores 2024-04-22 17:11:20 -03:00
mlx5_ib.h RDMA/mlx5: Change check for cacheable mkeys 2024-04-08 13:34:51 +03:00
mr.c RDMA/mlx5: Ensure created mkeys always have a populated rb_key 2024-06-21 10:19:36 -03:00
odp.c
qos.c
qp.c RDMA/mlx5: Track DCT, DCI and REG_UMR QPs as diver_detail resources. 2024-04-30 11:19:37 +03:00
qp.h
qpc.c
restrack.c RDMA/mlx5: Track DCT, DCI and REG_UMR QPs as diver_detail resources. 2024-04-30 11:19:37 +03:00
restrack.h
srq.c RDMA/mlx5: Add check for srq max_sge attribute 2024-06-21 10:19:36 -03:00
srq.h
srq_cmd.c
std_types.c
umr.c RDMA/mlx5: Implement mkeys management via LIFO queue 2023-09-26 12:36:18 +03:00
umr.h
wr.c RDMA/mlx5: Fix fortify source warning while accessing Eth segment 2024-01-31 11:15:17 +02:00
wr.h