]> Git Repo - linux.git/commitdiff
Merge branch 'devlink-Use-nla_policy-to-validate-range'
authorDavid S. Miller <[email protected]>
Wed, 23 Sep 2020 00:38:42 +0000 (17:38 -0700)
committerDavid S. Miller <[email protected]>
Wed, 23 Sep 2020 00:38:42 +0000 (17:38 -0700)
Parav Pandit says:

====================
devlink: Use nla_policy to validate range

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.
====================

Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>

Trivial merge
This page took 0.052708 seconds and 4 git commands to generate.