linux/drivers/s390
Cornelia Huck c98d3683ce s390/virtio-ccw: Fix setup_vq error handling.
virtio_ccw_setup_vq() failed to unwind correctly on errors. In
particular, it failed to delete the virtqueue on errors, leading to
list corruption when virtio_ccw_del_vqs() iterated over a virtqueue
that had not been added to the vcdev's list.

Fix this with redoing the error unwinding in virtio_ccw_setup_vq(),
using a single path for all errors.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
2013-01-30 12:35:55 +02:00
..
block Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2012-12-13 14:20:19 -08:00
char Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2012-12-13 14:20:19 -08:00
cio s390/qdio: rename the misleading PCI flag of qdio devices 2012-12-11 14:52:49 +01:00
crypto s390/zcrypt: msgType50 (RSA-CRT) fix 2012-11-23 11:14:30 +01:00
kvm s390/virtio-ccw: Fix setup_vq error handling. 2013-01-30 12:35:55 +02:00
net qeth: Remove BUG_ONs 2012-11-19 14:19:00 -05:00
scsi [SCSI] zfcp: only access zfcp_scsi_dev for valid scsi_device 2012-09-24 12:11:02 +04:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00