From owner-p4-projects@FreeBSD.ORG Sat Oct 31 13:11:13 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id AD187106568D; Sat, 31 Oct 2009 13:11:13 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 712CB106566C for ; Sat, 31 Oct 2009 13:11:13 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5F7368FC12 for ; Sat, 31 Oct 2009 13:11:13 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9VDBDgW068605 for ; Sat, 31 Oct 2009 13:11:13 GMT (envelope-from hselasky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9VDBDKv068603 for perforce@freebsd.org; Sat, 31 Oct 2009 13:11:13 GMT (envelope-from hselasky@FreeBSD.org) Date: Sat, 31 Oct 2009 13:11:13 GMT Message-Id: <200910311311.n9VDBDKv068603@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to hselasky@FreeBSD.org using -f From: Hans Petter Selasky To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 169993 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2009 13:11:13 -0000 http://p4web.freebsd.org/chv.cgi?CH=169993 Change 169993 by hselasky@hselasky_laptop001 on 2009/10/31 13:11:03 USB CORE: - fix issue introduced in last patch - use correct length field in Linux Compat code. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb_compat_linux.c#51 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb_compat_linux.c#51 (text+ko) ==== @@ -1362,7 +1362,7 @@ for (x = 0; x < urb->number_of_packets; x++) { uipd = urb->iso_frame_desc + x; - if (uipd->actual_length > xfer->frlengths[x]) { + if (uipd->length > xfer->frlengths[x]) { if (urb->transfer_flags & URB_SHORT_NOT_OK) { /* XXX should be EREMOTEIO */ uipd->status = -EPIPE;