]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ibmvnic: handle inconsistent login with reset
authorDany Madden <drt@linux.ibm.com>
Thu, 26 Nov 2020 00:04:24 +0000 (18:04 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Dec 2020 09:58:26 +0000 (10:58 +0100)
commit1b56fed756bf633b64b7abf6978cc259693e011c
treea83a69efddc60ef0102c2beada4e9d1871aeaa78
parent0fc63f124c1c279a6d30dc00a86e51fd7b1264a7
ibmvnic: handle inconsistent login with reset

[ Upstream commit 31d6b4036098f6b59bcfa20375626b500c7d7417 ]

Inconsistent login with the vnicserver is causing the device to be
removed. This does not give the device a chance to recover from error
state. This patch schedules a FATAL reset instead to bring the adapter
up.

Fixes: 032c5e82847a2 ("Driver for IBM System i/p VNIC protocol")
Signed-off-by: Dany Madden <drt@linux.ibm.com>
Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/ibm/ibmvnic.c