commit | d06a09b94c618c96ced584dd4611a888c8856b8d | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Apr 30 22:13:08 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 30 17:51:42 2020 -0700 |
tree | 6facc8389c5c79d61babf18e62163e3e90273060 | |
parent | d15da2a2e813679aeac8bff3be38d3adc849c1a6 [diff] |
netlink: extend policy range validation Using a pointer to a struct indicating the min/max values, extend the ability to do range validation for arbitrary values. Small values in the s16 range can be kept in the policy directly. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>