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
..
2012-12-12 11:45:16 -08:00
2012-12-10 15:49:53 -05:00
2012-12-12 12:05:15 -08:00
2012-12-07 23:13:36 +01:00
2012-12-12 11:45:16 -08:00
2012-12-11 14:08:47 -08:00
2012-12-12 12:14:06 -08:00
2012-12-13 12:04:35 -08:00
2012-12-13 11:51:23 -08:00
2012-12-12 11:45:16 -08:00
2012-12-11 13:13:55 -08:00
2012-11-28 12:23:41 -08:00
2012-12-11 13:13:55 -08:00
2012-12-12 11:45:16 -08:00
2012-12-10 15:47:32 -05:00
2012-12-12 12:05:15 -08:00
2012-12-13 14:29:16 -08:00