diff options
author | Dany Madden <drt@linux.ibm.com> | 2020-11-25 18:04:27 -0600 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-28 13:26:48 -0800 |
commit | 0cb4bc66ba5ea2d3b94ec2a00775888130db628a (patch) | |
tree | 232126e66ba502ef83d540e00ac7264fb9225b55 /tools/perf/scripts/python/stat-cpi.py | |
parent | 9281cf2d584083a450fd65fd27cc5f0e692f6e30 (diff) |
ibmvnic: restore adapter state on failed reset
In a failed reset, driver could end up in VNIC_PROBED or VNIC_CLOSED
state and cannot recover in subsequent resets, leaving it offline.
This patch restores the adapter state to reset_state, the original
state when reset was called.
Fixes: b27507bb59ed5 ("net/ibmvnic: unlock rtnl_lock in reset so linkwatch_event can run")
Fixes: 2770a7984db58 ("ibmvnic: Introduce hard reset recovery")
Signed-off-by: Dany Madden <drt@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions