Received: from eggs.gnu.org ([208.118.235.92]:44579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDzyY-0004wq-Sm for qemu-devel@nongnu.org; Sat, 31 Mar 2012 11:12:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDzyX-0001FS-AB for qemu-devel@nongnu.org; Sat, 31 Mar 2012 11:12:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDzyX-0001Eg-28 for qemu-devel@nongnu.org; Sat, 31 Mar 2012 11:12:21 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q2VFCJsN020013 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 31 Mar 2012 11:12:19 -0400 From: Hans de Goede Date: Sat, 31 Mar 2012 17:14:23 +0200 Message-Id: <1333206863-11425-3-git-send-email-hdegoede@redhat.com> In-Reply-To: <1333206863-11425-1-git-send-email-hdegoede@redhat.com> References: <1333206863-11425-1-git-send-email-hdegoede@redhat.com> Subject: [Qemu-devel] [PATCH 3/3] usb-redir: Not finding an async urb id is not an error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Hans de Goede , qemu-devel@nongnu.org We clear our pending async urb list on device disconnect and we may still receive "packet complete" packets from our peer after this, which will then refer to packet ids no longer in our list. Signed-off-by: Hans de Goede --- hw/usb/redirect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index 11d3b2b..b872626 100644 --- a/hw/usb/redirect.c +++ b/hw/usb/redirect.c @@ -276,7 +276,7 @@ static AsyncURB *async_find(USBRedirDevice *dev, uint32_t packet_id) return aurb; } } - ERROR("could not find async urb for packet_id %u\n", packet_id); + DPRINTF("could not find async urb for packet_id %u\n", packet_id); return NULL; } -- 1.7.9.3