linux/drivers/s390
Stefan Haberland f81a49d13b s390/dasd: fix kernel panic when alias is set offline
The dasd device driver selects which (alias or base) device is used
for a given requests when the request is build. If the chosen alias
device is set offline before the request gets queued to the device
queue the starting function may use device structures that are
already freed. This might lead to a hanging offline process or a
kernel panic.

Add a check to the starting function that returns the request to the
upper layer if the device is already in offline processing.

In addition to that prevent that an alias device that's already in
offline processing gets chosen as start device.

Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Peter Oberparleiter <peter.oberparleiter@linux.vnet.ibm.com>
Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-07-13 11:02:14 +02:00
..
block s390/dasd: fix kernel panic when alias is set offline 2015-07-13 11:02:14 +02:00
char s390/sclp: fix compile error 2015-07-01 09:34:38 +02:00
cio s390: remove use of seq_printf return value 2015-04-15 16:35:25 -07:00
crypto s390/zcrypt: enable s390 hwrng to seed kernel entropy 2015-07-01 09:34:37 +02:00
kvm s390/sclp: unify basic sclp access by exposing "struct sclp" 2015-05-13 09:58:17 +02:00
net s390/lcs: Fix null-pointer access in msg 2015-05-18 12:14:18 -04:00
scsi scsi: Do not set cmd_per_lun to 1 in the host template 2015-05-31 18:06:28 -07:00
Makefile