]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
UBUNTU: SAUCE: {topost} net: hns3: add vector status check before free vector
authorPeng Li <lipeng321@huawei.com>
Fri, 13 Apr 2018 02:05:28 +0000 (10:05 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 18:41:37 +0000 (14:41 -0400)
commit617cb5a2ee5682f413d4e5373956a65f2f9fc182
tree285dc8143378ca53d963e7b5e61ef716f5becb91
parente7e09222c1fe15917fae14494abcd69eacf0591b
UBUNTU: SAUCE: {topost} net: hns3: add vector status check before free vector

BugLink: https://bugs.launchpad.net/bugs/1768670
If the hdev->vector_status[vector_id] is already HCLGE_INVALID_VPORT,
should log the error and return.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c