Commit ebccb56b authored by Luoyouming's avatar Luoyouming Committed by Juan Zhou
Browse files

RDMA/hns: Fix a missing validation check for sl

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8HYV0



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

After the user sets the sl value, the driver does not verify
the sl value, which may result in the user's configuration
value exceeding the system configuration specifications. This
patch adds validation for the validity of the user-configured
sl value.

Fixes: 11ef2ec6 ("RDMA/hns: Support DSCP of userspace")
Signed-off-by: default avatarLuoyouming <luoyouming@huawei.com>
parent d2fd4215
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment