diff options
author | 2021-09-15 21:52:09 +0800 | |
---|---|---|
committer | 2021-09-20 13:28:39 +0100 | |
commit | 63b1279d9905100a14da9e043de7b28e99dba3f8 (patch) | |
tree | fcf875c6ecbe9da170937d3fb51b31c573f12ca8 /tools/perf/scripts/python | |
parent | net: hns3: fix misuse vf id and vport id in some logs (diff) | |
download | linux-dev-63b1279d9905100a14da9e043de7b28e99dba3f8.tar.xz linux-dev-63b1279d9905100a14da9e043de7b28e99dba3f8.zip |
net: hns3: check queue id range before using
The input parameters may not be reliable. Before using the
queue id, we should check this parameter. Otherwise, memory
overwriting may occur.
Fixes: d34100184685 ("net: hns3: refactor the mailbox message between PF and VF")
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions