kernel-fxtec-pro1x/drivers/s390/kvm
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
..
kvm_virtio.c KVM: s390: Handle hosts not supporting s390-virtio. 2012-12-18 14:36:38 +02:00
Makefile KVM: s390: Add a channel I/O based virtio transport driver. 2012-12-18 14:37:13 +02:00
virtio_ccw.c s390/virtio-ccw: Fix setup_vq error handling. 2013-01-30 12:35:55 +02:00