qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] usb_packet_complete assert(p->owner != NULL)


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] usb_packet_complete assert(p->owner != NULL)
Date: Mon, 10 Oct 2011 14:24:20 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110904 Red Hat/3.1.14-1.el6_1 Thunderbird/3.1.14

  Hi,

-    usb_packet_complete(&s->dev, packet);
+    s->dev.port->ops->complete(s->dev.port, packet);
  }

The hub is now directly invoking .complete() and not messing with
packet->owner (which is already NULL).  We don't hit the assertion
anymore.

Does the attached patch work for you?

cheers,
  Gerd

Attachment: 0001-usb-fix-packet-owner-tracking-with-hub.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]