summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJohn Allen <jallen@linux.ibm.com>2018-07-16 10:29:30 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-24 13:07:11 +0200
commit74c5905e1503f6be7bcac53a2a625cb752ad827c (patch)
treedecabbc342c7883631070ba42a53350ed0e41e45 /tools/perf/scripts/python/stackcollapse.py
parent1f4a89d21562ecc933763ad81b82526d2813bdfe (diff)
ibmvnic: Fix error recovery on login failure
[ Upstream commit 3578a7ecb69920efc3885dbd610e98c00dbdf5db ] Testing has uncovered a failure case that is not handled properly. In the event that a login fails and we are not able to recover on the spot, we return 0 from do_reset, preventing any error recovery code from being triggered. Additionally, the state is set to "probed" meaning that when we are able to trigger the error recovery, the driver always comes up in the probed state. To handle the case properly, we need to return a failure code here and set the adapter state to the state that we entered the reset in indicating the state that we would like to come out of the recovery reset in. Signed-off-by: John Allen <jallen@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions