Skip to content
Commit e5bdb3bc authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Liu Jian
Browse files

params: lift param_set_uint_minmax to common code

stable inclusion
from stable-v4.19.316
commit 459de98d7a6b3d504b5e8664f32f59a306dd425c
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IA7D6N
CVE: CVE-2024-37356

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=459de98d7a6b3d504b5e8664f32f59a306dd425c



---------------------------

[ Upstream commit 2a14c9ae ]

It is a useful helper hence move it to common code so others can enjoy
it.

Suggested-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: default avatarHannes Reinecke <hare@suse.com>
Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Stable-dep-of: 3ebc46ca8675 ("tcp: Fix shift-out-of-bounds in dctcp_update_alpha().")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarLiu Jian <liujian56@huawei.com>
parent bda92d66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment