aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorYufeng Mo <[email protected]>2021-02-09 09:03:05 +0000
committerDavid S. Miller <[email protected]>2021-02-09 23:20:43 +0000
commit67a69f84cab60484f02eb8cbc7a76edffbb28a25 (patch)
tree932d1e7399d5b3dc7199c95c3b4b5a36a0620d53 /tools/perf/util/annotate.c
parentnet: dsa: felix: implement port flushing on .phylink_mac_link_down (diff)
downloadkernel-67a69f84cab60484f02eb8cbc7a76edffbb28a25.tar.gz
kernel-67a69f84cab60484f02eb8cbc7a76edffbb28a25.zip
net: hns3: add a check for queue_id in hclge_reset_vf_queue()
The queue_id is received from vf, if use it directly, an out-of-bound issue may be caused, so add a check for this queue_id before using it in hclge_reset_vf_queue(). Fixes: 1a426f8b40fc ("net: hns3: fix the VF queue reset flow error") Signed-off-by: Yufeng Mo <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions