net: hns3: refix kernel crash when unload VF while it is being reset
driver inclusion
category: bugfix
bugzilla: NA
CVE: NA
----------------------------
The previous commit 7051ad8d91c9 ("net: hns3: fix kernel crash when unload VF while it is being reset")
did not full solve the problem, we should clear the state
HCLGEVF_STATE_NIC_REGISTERED after reset handling done.
Signed-off-by:
Yonglong Liu <liuyonglong@huawei.com>
Reviewed-by:
li yongxin <liyongxin1@huawei.com>
Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment