aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorYufeng Mo <[email protected]>2021-02-09 09:03:06 +0000
committerDavid S. Miller <[email protected]>2021-02-09 23:20:43 +0000
commit326334aad024a60f46dc5e7dbe1efe32da3ca66f (patch)
tree696ae6870a96d1d1edb32ac240e227ed498157e9 /tools/perf/util/annotate.c
parentnet: hns3: add a check for queue_id in hclge_reset_vf_queue() (diff)
downloadkernel-326334aad024a60f46dc5e7dbe1efe32da3ca66f.tar.gz
kernel-326334aad024a60f46dc5e7dbe1efe32da3ca66f.zip
net: hns3: add a check for tqp_index in hclge_get_ring_chain_from_mbx()
The tqp_index is received from vf, if use it directly, an out-of-bound issue may be caused, so add a check for this tqp_index before using it in hclge_get_ring_chain_from_mbx(). Fixes: 84e095d64ed9 ("net: hns3: Change PF to add ring-vect binding & resetQ to mailbox") 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