diff options
author | Huazhong Tan <[email protected]> | 2018-05-01 19:55:59 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-05-01 15:08:37 -0400 |
commit | 38e62046d4c95272e2fb001d2d72baf48fa090e9 (patch) | |
tree | 47d2f4c022a638752b627f5e8b366abfb1c07b8d /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 35f58fd792d7fb15f5c036c7b191b0f44d644d75 (diff) |
net: hns3: Fixes the out of bounds access in hclge_map_tqp
This patch fixes the handling of the check when number of vports
are detected to be more than available TPQs. Current handling causes
an out of bounds access in hclge_map_tqp().
Fixes: 7df7dad633e2 ("net: hns3: Refactor the mapping of tqp to vport")
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: Salil Mehta <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions