linux/drivers/infiniband
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
..
core tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
hw RDMA/mlx5: Add check for srq max_sge attribute 2024-06-21 10:19:36 -03:00
sw RDMA/rxe: Fix responder length checking for UD request packets 2024-06-09 11:51:32 +03:00
ulp RDMA v6.10 merge window 2024-05-18 13:04:15 -07:00
Kconfig RDMA: Disable IB HW for UML 2022-12-04 15:22:03 +02:00
Makefile