mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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:b27507bb59("net/ibmvnic: unlock rtnl_lock in reset so linkwatch_event can run") Fixes:2770a7984d("ibmvnic: Introduce hard reset recovery") Signed-off-by: Dany Madden <drt@linux.ibm.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
9281cf2d58
commit
0cb4bc66ba
1 changed files with 36 additions and 31 deletions
Loading…
Add table
Add a link
Reference in a new issue