Re: [Qemu-devel] [PATCH 6/6] uhci: fix uhci_async_cancel_all

2012-08-08 Thread Bruce Rogers
>>> On 6/20/2012 at 08:05 AM, Gerd Hoffmann wrote: > 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 > --- > hw/usb/hcd

[Qemu-devel] [PATCH 6/6] uhci: fix uhci_async_cancel_all

2012-06-20 Thread Gerd Hoffmann
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 --- hw/usb/hcd-uhci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)