Skip to content
Commit 87480a8c authored by Nicolas Bouchinet's avatar Nicolas Bouchinet Committed by Chuck Lever
Browse files

sysctl: Fixes nsm_local_state bounds



Bound nsm_local_state 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>
[ cel: updated to handle zero - UINT_MAX instead ]
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 261e3bbf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment