aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorYunsheng Lin <[email protected]>2018-07-06 11:28:02 +0100
committerDavid S. Miller <[email protected]>2018-07-07 11:13:07 +0900
commit03718db97bfb57535f3aa8110f0cbe0c616a67c0 (patch)
treef43d63d116e68e4139bfd37f8d906d0104cb4ed7 /tools/perf/scripts/python/bin
parentd7099d15478e89edb9bc6c6e3ab4cd341884a367 (diff)
net: hns3: Fix get_vector ops in hclgevf_main module
The hclgevf_free_vector function expects the caller to pass the vector_id to it, and hclgevf_put_vector pass vector to it now, which will cause vector allocation problem. This patch fixes it by converting vector into vector_id before calling hclgevf_free_vector. Fixes: e2cb1dec9779 ("net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support") Signed-off-by: Yunsheng Lin <[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/bin')
0 files changed, 0 insertions, 0 deletions