]> git.proxmox.com Git - qemu.git/commit - hw/usb/hcd-uhci.c
uhci: fix uhci_async_cancel_all
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 15 Jun 2012 07:39:50 +0000 (09:39 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 20 Jun 2012 12:46:02 +0000 (14:46 +0200)
commit77fa9aee38758a078870e25f0dcf642066b4d5cc
treec14087ada03273ee57fafa2c5611fc4c8bbb9d0c
parenta229c0535bd336efaec786dd6e352a54e0a8187d
uhci: fix uhci_async_cancel_all

We update the QTAILQ in the loop, thus we must use the SAFE version
to make sure we don't touch the queue struct after freeing it.

https://bugzilla.novell.com/show_bug.cgi?id=766310

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-uhci.c