commit | ba356c90985defec30c8680077bf571a50a4004b | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@nvidia.com> | Mon Sep 21 19:41:29 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 22 17:38:42 2020 -0700 |
tree | 385db55b763ff0c6cb38d98941e4dca0f2a21f2f | |
parent | 3ab0a7a0c349a1d7beb2bb371a62669d1528269d [diff] |
devlink: Enhance policy to validate eswitch mode value Use range checking facility of nla_policy to validate eswitch mode input attribute value is valid or not. Signed-off-by: Parav Pandit <parav@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>