diff options
author | Sukadev Bhattiprolu <sukadev@linux.ibm.com> | 2021-02-02 21:08:02 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-06 10:36:22 -0800 |
commit | ef66a1eace968ff22a35f45e6e8ec36b668b6116 (patch) | |
tree | 450f9dd80e6b28e452d194666e95112b3464291e /net/vmw_vsock | |
parent | 2da4b24b1dfbf06c7dc7fd45de258e007e1c5ef5 (diff) | |
download | lwn-ef66a1eace968ff22a35f45e6e8ec36b668b6116.tar.gz lwn-ef66a1eace968ff22a35f45e6e8ec36b668b6116.zip |
ibmvnic: Clear failover_pending if unable to schedule
Normally we clear the failover_pending flag when processing the reset.
But if we are unable to schedule a failover reset we must clear the
flag ourselves. We could fail to schedule the reset if we are in PROBING
state (eg: when booting via kexec) or because we could not allocate memory.
Thanks to Cris Forno for helping isolate the problem and for testing.
Fixes: 1d8504937478 ("powerpc/vnic: Extend "failover pending" window")
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
Tested-by: Cristobal Forno <cforno12@linux.ibm.com>
Link: https://lore.kernel.org/r/20210203050802.680772-1-sukadev@linux.ibm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/vmw_vsock')
0 files changed, 0 insertions, 0 deletions