diff options
author | Yufeng Mo | 2021-09-15 21:52:09 +0800 |
---|---|---|
committer | David S. Miller | 2021-09-20 13:28:39 +0100 |
commit | 63b1279d9905100a14da9e043de7b28e99dba3f8 (patch) | |
tree | fcf875c6ecbe9da170937d3fb51b31c573f12ca8 /Documentation/netlabel | |
parent | 311c0aaa9b4bb8dc65f22634e15963316b17c921 (diff) |
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 'Documentation/netlabel')
0 files changed, 0 insertions, 0 deletions