summaryrefslogtreecommitdiffstats
path: root/lib/div64.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2018-09-26 11:15:33 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-28 19:24:39 +0200
commit9a659a35ba177cec30676e170fb6ed98157bcb0d (patch)
tree0a551784a6b946553793306790e75e1bb69d4f83 /lib/div64.c
parentnetlink: move extack setting into validate_nla() (diff)
downloadlinux-9a659a35ba177cec30676e170fb6ed98157bcb0d.tar.xz
linux-9a659a35ba177cec30676e170fb6ed98157bcb0d.zip
netlink: allow NLA_NESTED to specify nested policy to validate
Now that we have a validation_data pointer, and the len field in the policy is unused for NLA_NESTED, we can allow using them both to have nested validation. This can be nice in code, although we still have to use nla_parse_nested() or similar which would also take a policy; however, it also serves as documentation in the policy without requiring a look at the code. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/div64.c')
0 files changed, 0 insertions, 0 deletions