aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2020-10-07 12:53:50 +0200
committerJakub Kicinski <[email protected]>2020-10-08 16:06:01 -0700
commitdb972e5325183df1265bf851b32dc7530dd4393a (patch)
tree4d3ce070c491a014b4f332ec8fb5c9d34c76d31b /tools/perf/scripts/python/exported-sql-viewer.py
parent9d49aea13f1e35869158abe7e314e16dc8f50ff1 (diff)
ethtool: strset: allow ETHTOOL_A_STRSET_COUNTS_ONLY attr
The ETHTOOL_A_STRSET_COUNTS_ONLY flag attribute was previously not allowed to be used, but now due to the policy size reduction we would access the tb[] array out of bounds since we tried to check for the attribute despite it not being accepted. Fix both issues by adding it correctly to the appropriate policy. Fixes: ff419afa4310 ("ethtool: trim policy tables") Fixes: 71921690f974 ("ethtool: provide string sets with STRSET_GET request") Reported-by: Leon Romanovsky <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Tested-by: Leon Romanovsky <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions