commit | 0f14c5b1a9c9d082d9b567e3775e299ec075721d | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Sat Apr 06 15:43:25 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 08 15:30:49 2019 -0700 |
tree | d71eb64bdce7341ca79f364b708d49e8f5f3753b | |
parent | 0ed8c3dc41338d6b6442a6b692552f24ad523a9b [diff] |
net: hns3: set vport alive state to default while resetting When resetting, the vport alive state should be set to default, otherwise the alive state of the vport whose driver not running is wrong before the timer to check it out. Fixes: a6d818e31d08 ("net: hns3: Add vport alive state checking support") Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>