Commit 78c96d7b authored by Jiri Pirko's avatar Jiri Pirko Committed by Jakub Kicinski

netlink: specs: add dump-strict flag for dont-validate property

Allow user to specify GENL_DONT_VALIDATE_DUMP_STRICT flag for validation
and add this flag to netlink spec schema.
Signed-off-by: default avatarJiri Pirko <jiri@nvidia.com>
Reviewed-by: default avatarJakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20230803111340.1074067-2-jiri@resnulli.usSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 86b7e033
...@@ -274,7 +274,7 @@ properties: ...@@ -274,7 +274,7 @@ properties:
description: Kernel attribute validation flags. description: Kernel attribute validation flags.
type: array type: array
items: items:
enum: [ strict, dump ] enum: [ strict, dump, dump-strict ]
do: &subop-type do: &subop-type
description: Main command handler. description: Main command handler.
type: object type: object
......
...@@ -321,7 +321,7 @@ properties: ...@@ -321,7 +321,7 @@ properties:
description: Kernel attribute validation flags. description: Kernel attribute validation flags.
type: array type: array
items: items:
enum: [ strict, dump ] enum: [ strict, dump, dump-strict ]
# Start genetlink-legacy # Start genetlink-legacy
fixed-header: *fixed-header fixed-header: *fixed-header
# End genetlink-legacy # End genetlink-legacy
......
...@@ -243,7 +243,7 @@ properties: ...@@ -243,7 +243,7 @@ properties:
description: Kernel attribute validation flags. description: Kernel attribute validation flags.
type: array type: array
items: items:
enum: [ strict, dump ] enum: [ strict, dump, dump-strict ]
do: &subop-type do: &subop-type
description: Main command handler. description: Main command handler.
type: object type: object
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment