diff options
| author | Johannes Berg <[email protected]> | 2018-09-26 09:15:33 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-09-28 17:24:39 +0000 |
| commit | 9a659a35ba177cec30676e170fb6ed98157bcb0d (patch) | |
| tree | 0a551784a6b946553793306790e75e1bb69d4f83 /drivers/net/xen-netback/interface.c | |
| parent | netlink: move extack setting into validate_nla() (diff) | |
| download | kernel-9a659a35ba177cec30676e170fb6ed98157bcb0d.tar.gz kernel-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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
