]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/patches/suse-2.6.27.25/patches.arch/s390-05-09-cleanup-of-portopen-requests.patch
Updated xen patches taken from suse.
[people/teissler/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.arch / s390-05-09-cleanup-of-portopen-requests.patch
1 From: Gerald Schaefer <geraldsc@de.ibm.com>
2 Subject: zfcp: fix erp timeout cleanup for port open requests
3 References: bnc#450096
4
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
11 erp_action otherwise.
12 Solution: setting erp_action to NULL
13
14 Acked-by: John Jolly <jjolly@suse.de>
15 ---
16 drivers/s390/scsi/zfcp_erp.c | 1 +
17 1 file changed, 1 insertion(+)
18
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;
28 }
29 if (act->status & ZFCP_STATUS_ERP_TIMEDOUT)
30 zfcp_rec_dbf_event_action(143, act);