aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2018-05-01 19:55:59 +0100
committerDavid S. Miller <davem@davemloft.net>2018-05-01 15:08:37 -0400
commit38e62046d4c95272e2fb001d2d72baf48fa090e9 (patch)
tree47d2f4c022a638752b627f5e8b366abfb1c07b8d /include/linux
parentnet: hns3: fix to correctly fetch l4 protocol outer header (diff)
downloadwireguard-linux-38e62046d4c95272e2fb001d2d72baf48fa090e9.tar.xz
wireguard-linux-38e62046d4c95272e2fb001d2d72baf48fa090e9.zip
net: hns3: Fixes the out of bounds access in hclge_map_tqp
This patch fixes the handling of the check when number of vports are detected to be more than available TPQs. Current handling causes an out of bounds access in hclge_map_tqp(). Fixes: 7df7dad633e2 ("net: hns3: Refactor the mapping of tqp to vport") Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions