summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2013-01-25 15:34:16 +0100
committerGleb Natapov <gleb@redhat.com>2013-01-30 12:35:55 +0200
commitc98d3683ce675d689121147ed00e7c4af4737518 (patch)
treeccb2b54c7befb859908b30c1653cae2774314bea /arch/s390
parent15bc8d8457875f495c59d933b05770ba88d1eacb (diff)
downloadlinux-stable-c98d3683ce675d689121147ed00e7c4af4737518.tar.gz
linux-stable-c98d3683ce675d689121147ed00e7c4af4737518.tar.bz2
linux-stable-c98d3683ce675d689121147ed00e7c4af4737518.zip
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>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions