Skip to content
Commit c49a9440 authored by Parav Pandit's avatar Parav Pandit Committed by David S. Miller
Browse files

devlink: Enhance policy to validate port type input value



Use range checking facility of nla_policy to validate port type
attribute input value is valid or not.

Signed-off-by: default avatarParav Pandit <parav@nvidia.com>
Reviewed-by: default avatarJiri Pirko <jiri@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ba356c90
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