diff options
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | 2018-05-24 14:37:53 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-25 16:32:48 -0400 |
commit | eb110410b9f6477726026669f3f0c0567e8241e6 (patch) | |
tree | 02ae95f908d6d915c7833e68229d638cf150018b /kernel | |
parent | d2f30f5172603bacaf34f0fdb021c25ad1915b05 (diff) |
ibmvnic: Fix partial success login retries
In its current state, the driver will handle backing device
login in a loop for a certain number of retries while the
device returns a partial success, indicating that the driver
may need to try again using a smaller number of resources.
The variable it checks to continue retrying may change
over the course of operations, resulting in reallocation
of resources but exits without sending the login attempt.
Guard against this by introducing a boolean variable that
will retain the state indicating that the driver needs to
reattempt login with backing device firmware.
Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions