aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-09-22 17:38:42 -0700
committerDavid S. Miller <davem@davemloft.net>2020-09-22 17:38:42 -0700
commit748d1c8a425ec529d541f082ee7a81f6a51fa120 (patch)
treedb5d37005b047942476b2ae9b9741965877ae5f7 /tools/perf/scripts/python
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff)
parentdevlink: Enhance policy to validate port type input value (diff)
downloadlinux-748d1c8a425ec529d541f082ee7a81f6a51fa120.tar.gz
linux-748d1c8a425ec529d541f082ee7a81f6a51fa120.zip
Merge branch 'devlink-Use-nla_policy-to-validate-range'
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 <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions