summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2018-09-26 12:15:33 +0300
committerDavid S. Miller <davem@davemloft.net>2018-09-28 20:24:39 +0300
commit9a659a35ba177cec30676e170fb6ed98157bcb0d (patch)
tree0a551784a6b946553793306790e75e1bb69d4f83 /samples
parentc29f1845b2b22974411278bad3a2ac0b7815dfb4 (diff)
downloadlinux-9a659a35ba177cec30676e170fb6ed98157bcb0d.tar.xz
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 'samples')
0 files changed, 0 insertions, 0 deletions