]> git.ipfire.org Git - thirdparty/qemu.git/commit
uhci: fix uhci_async_cancel_all
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 15 Jun 2012 07:39:50 +0000 (09:39 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 21 Aug 2012 20:36:35 +0000 (15:36 -0500)
commitf49853a4bd5113cdb847579b8fb171a06d68af10
treebe4dd75b937f1cfdcb207716b732bbf5bec3f3dd
parentb10daa61f9a600997b59b36b34c6e2341a6e7616
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>
(cherry picked from commit 77fa9aee38758a078870e25f0dcf642066b4d5cc)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/usb/hcd-uhci.c