1
0
Fork 0
alistair23-linux/drivers/s390
Julian Wiedmann d3edf648f3 s390/qeth: fix error handling for isolation mode cmds
[ Upstream commit e2dfcfba00 ]

Current(?) OSA devices also store their cmd-specific return codes for
SET_ACCESS_CONTROL cmds into the top-level cmd->hdr.return_code.
So once we added stricter checking for the top-level field a while ago,
none of the error logic that rolls back the user's configuration to its
old state is applied any longer.

For this specific cmd, go back to the old model where we peek into the
cmd structure even though the top-level field indicated an error.

Fixes: 686c97ee29 ("s390/qeth: fix error handling in adapter command callbacks")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-30 15:36:57 -04:00
..
block s390/dasd: fix data corruption for thin provisioned devices 2020-03-18 07:17:52 +01:00
char s390 updates for the 5.4 merge window 2019-09-17 14:04:43 -07:00
cio s390/qdio: put thinint indicator after early error 2020-06-24 17:50:22 +02:00
crypto s390/zcrypt: fix card and queue total counter wrap 2020-03-05 16:43:36 +01:00
net s390/qeth: fix error handling for isolation mode cmds 2020-06-30 15:36:57 -04:00
scsi scsi: zfcp: Fix panic on ERP timeout for previously dismissed ERP action 2020-06-30 15:36:51 -04:00
virtio virtio/s390: fix race on airq_areas[] 2019-07-26 13:36:18 +02:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00