diff options
author | Yufeng Mo <moyufeng@huawei.com> | 2021-02-09 17:03:05 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-09 15:20:43 -0800 |
commit | 67a69f84cab60484f02eb8cbc7a76edffbb28a25 (patch) | |
tree | 932d1e7399d5b3dc7199c95c3b4b5a36a0620d53 /Documentation/i2c/dev-interface.rst | |
parent | eb4733d7cffc547e08fe5a216e4f03663bb71108 (diff) |
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 <moyufeng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/i2c/dev-interface.rst')
0 files changed, 0 insertions, 0 deletions