Commit f33cd9b3 authored by Nicolas Bouchinet's avatar Nicolas Bouchinet Committed by Leon Romanovsky
Browse files

RDMA/core: Fixes infiniband sysctl bounds



Bound infiniband iwcm and ucma sysctl writings between SYSCTL_ZERO
and SYSCTL_INT_MAX.

The proc_handler has thus been updated to proc_dointvec_minmax.

Signed-off-by: default avatarNicolas Bouchinet <nicolas.bouchinet@ssi.gouv.fr>
Link: https://patch.msgid.link/20250224095826.16458-6-nicolas.bouchinet@clip-os.org


Reviewed-by: default avatarZhu Yanjun <yanjun.zhu@linux.dev>
Reviewed-by: default avatarJoel Granados <joel.granados@kernel.org>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent a1ecb30f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment