Skip to content
  • Thomas Falcon's avatar
    ibmvnic: Fix partial success login retries · eb110410
    Thomas Falcon authored
    
    
    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: default avatarThomas Falcon <tlfalcon@linux.vnet.ibm.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    eb110410