1 From: Gerald Schaefer <geraldsc@de.ibm.com>
2 Subject: zfcp: fix erp timeout cleanup for port open requests
5 Symptom: kernel panic on manylinux idle guests
6 Problem: If an open port fsf request times out (in erp) the
7 corresponding erp_action member of the fsf
8 request need to set to NULL. If the port structure
9 will be removed later-on there will be still a
10 reference in the fsf request to the non existing
12 Solution: setting erp_action to NULL
14 Acked-by: John Jolly <jjolly@suse.de>
16 drivers/s390/scsi/zfcp_erp.c | 1 +
17 1 file changed, 1 insertion(+)
19 Index: linux-sles11/drivers/s390/scsi/zfcp_erp.c
20 ===================================================================
21 --- linux-sles11.orig/drivers/s390/scsi/zfcp_erp.c
22 +++ linux-sles11/drivers/s390/scsi/zfcp_erp.c
23 @@ -474,6 +474,7 @@ static void zfcp_erp_strategy_check_fsfr
24 ZFCP_STATUS_ERP_TIMEDOUT)) {
25 act->fsf_req->status |= ZFCP_STATUS_FSFREQ_DISMISSED;
26 zfcp_rec_dbf_event_action(142, act);
27 + act->fsf_req->erp_action = NULL;
29 if (act->status & ZFCP_STATUS_ERP_TIMEDOUT)
30 zfcp_rec_dbf_event_action(143, act);