commit | cf1f212916d9d59977aadd558a54aef6109bc2d1 | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Sat Apr 06 15:43:32 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 08 15:30:49 2019 -0700 |
tree | c3a9fc2a0e3af29ac68a6081c9f9e29412a8798d | |
parent | 4f765d3e5213da43a5f410ea62445f9591bfa4dc [diff] |
net: hns3: handle pending reset while reset fail The ongoing lower-level reset will fail when there is a higher-level reset occurs, so the error handler should deal with this situation. Fixes: 6a5f6fa382f3 ("net: hns3: add error handler for hclgevf_reset()") 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>