aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/export-to-sqlite-record
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-10-08 12:45:17 +0200
committerJakub Kicinski <kuba@kernel.org>2020-10-09 20:22:32 -0700
commit44f3625bc61653ea3bde9960298faf2f5518fda5 (patch)
treee36d5d8e5795a8992618cc2f756c5bc38d977434 /tools/perf/scripts/python/bin/export-to-sqlite-record
parentnetlink: policy: refactor per-attr policy writing (diff)
downloadlinux-44f3625bc61653ea3bde9960298faf2f5518fda5.tar.gz
linux-44f3625bc61653ea3bde9960298faf2f5518fda5.zip
netlink: export policy in extended ACK
Add a new attribute NLMSGERR_ATTR_POLICY to the extended ACK to advertise the policy, e.g. if an attribute was out of range, you'll know the range that's permissible. Add new NL_SET_ERR_MSG_ATTR_POL() and NL_SET_ERR_MSG_ATTR_POL() macros to set this, since realistically it's only useful to do this when the bad attribute (offset) is also returned. Use it in lib/nlattr.c which practically does all the policy validation. v2: - add and use netlink_policy_dump_attr_size_estimate() v3: - remove redundant break v4: - really remove redundant break ... sorry Reviewed-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-record')
0 files changed, 0 insertions, 0 deletions
deletions'>-0/+6 2018-01-10drm/amdgpu/gfx9: only init the apertures used by KGD (v2)Alex Deucher1-1/+1 2018-01-10drm/amdgpu: add atpx quirk handling (v2)Alex Deucher1-7/+50 2018-01-10drm/amdgpu: Add dpm quirk for Jet PRO (v2)Alex Deucher1-0/+5 2018-01-10drm/radeon: Add dpm quirk for Jet PRO (v2)Alex Deucher1-0/+5 2018-01-10drm/msm: Add devfreq support for the GPUJordan Crouse4-1/+110 2018-01-10drm/msm/adreno: a5xx: Explicitly program the CP0 performance counterJordan Crouse1-0/+3 2018-01-10drm/msm/adreno: Read the speed bins for a5xx targetsJordan Crouse1-0/+23 2018-01-10drm/msm/adreno: Move clock parsing to adreno_gpu_init()Jordan Crouse3-77/+73 2018-01-10drm/msm/adreno: Cleanup chipid parsingJordan Crouse1-22/+22 2018-01-10drm/msm/gpu: Remove unused bus scaling codeJordan Crouse4-55/+3 2018-01-10drm/msm/adreno: Remove a useless call to dev_pm_opp_get_freq()Jordan Crouse1-1/+1 2018-01-10drm/msm/adreno: Call dev_pm_opp_put()Jordan Crouse2-2/+10 2018-01-09drm/amdgpu: use %pap format string for phys_addr_tArnd Bergmann1-2/+2 2018-01-08drm/tegra: dc: Properly cleanup overlay planesThierry Reding1-7/+11 2018-01-08drm/tegra: dc: Fix possible_crtcs mask for planesThierry Reding1-5/+12 2018-01-08drm/tegra: dc: Restore YUV overlay supportThierry Reding1-0/+5 2018-01-05drm/panel: lvds: Add support for the power-supply propertyMaxime Ripard1-0/+23 2018-01-05dt-bindings: panel: lvds: Document power-supply propertyMaxime Ripard3-1/+12 2018-01-04drm/sun4i: Add A83T supportMaxime Ripard3-0/+17 2018-01-04drm/sun4i: Add LVDS supportMaxime Ripard5-2/+456 2018-01-04drm/sun4i: Create minimal multipliers and dividersMaxime Ripard3-3/+11 2018-01-04drm/sun4i: Force the mixer rate at 150MHzMaxime Ripard2-0/+13 2018-01-04dt-bindings: display: sun4i-drm: Add A83T pipelineMaxime Ripard1-0/+3 2018-01-04dt-bindings: display: sun4i-drm: Add LVDS propertiesMaxime Ripard1-0/+8 2018-01-03drm/msm: Fix NULL deref in adreno_load_gpuArchit Taneja1-2/+5 2018-01-03drm/tinydrm: add driver for ST7735R panelsDavid Lechner4-0/+232