Commit 513b1a95 authored by Yonglong Liu's avatar Yonglong Liu Committed by Yang Yingliang
Browse files

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: default avatarYonglong Liu <liuyonglong@huawei.com>
Reviewed-by: default avatarli yongxin <liyongxin1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 94d5da77
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment