WSL2-Linux-Kernel/drivers/s390
Stefan Haberland c7c0c9deb0 s390/dasd: fix double free in dasd_eckd_read_conf
The configuration data is stored per path and also the first valid
configuration data per device. When dasd_eckd_read_conf is called
again after a path got lost the device configuration data is cleared
but possibly not the per path configuration data. This might lead to a
double free when the lost path gets operational again.

Fix by clearing all per path configuration data when the first valid
configuration data is received and stored.

Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-11-03 14:40:44 +01:00
..
block s390/dasd: fix double free in dasd_eckd_read_conf 2015-11-03 14:40:44 +01:00
char s390/sclp: avoid merged message output 2015-10-14 14:32:10 +02:00
cio s390/cio: move ccw_device_stlck functions 2015-10-27 09:34:44 +01:00
crypto s390/zcrypt: use system work queue for ap_scan_bus 2015-10-14 14:32:25 +02:00
net s390: remove unneeded variables 2015-08-07 09:57:01 +02:00
scsi Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-09-03 15:46:07 -07:00
virtio s390/diag: add a statistic for diagnose calls 2015-10-14 14:32:06 +02:00
Makefile virtio/s390: rename drivers/s390/kvm -> drivers/s390/virtio 2015-07-07 14:27:06 +03:00