]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: check failover_pending in login response
authorSukadev Bhattiprolu <sukadev@linux.ibm.com>
Wed, 8 Sep 2021 05:07:03 +0000 (22:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Sep 2021 10:29:49 +0000 (11:29 +0100)
commitd437f5aa23aa2b7bd07cd44b839d7546cc17166f
treefa5a7539cfe2fdf711d43054b532c71c8fb8c2c7
parent581edcd0c8a076eba2ec9e20db50921ee80f5cbc
ibmvnic: check failover_pending in login response

If a failover occurs before a login response is received, the login
response buffer maybe undefined. Check that there was no failover
before accessing the login response buffer.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c