Message ID | 20200921164130.83720-1-parav@nvidia.com |
---|---|
Headers | show |
Series | devlink: Use nla_policy to validate range | expand |
On Mon, 21 Sep 2020 19:41:28 +0300 Parav Pandit wrote: > This two small patches uses nla_policy to validate user specified > fields are in valid range or not. Reviewed-by: Jakub Kicinski <kuba@kernel.org>
From: Parav Pandit <parav@nvidia.com> Date: Mon, 21 Sep 2020 19:41:28 +0300 > This two small patches uses nla_policy to validate user specified > fields are in valid range or not. > > Patch summary: > Patch-1 checks the range of eswitch mode field > Patch-2 checks for the port type field. It eliminates a check in > code by using nla policy infrastructure. Series applied, thanks.