lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 18 Feb 2008 18:14:39 -0800
From:	David Brownell <david-b@...bell.net>
To:	Jan Altenberg <jan.altenberg@...utronix.de>
Cc:	tglx@...utronix.de, Greg KH <greg@...ah.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] queue usb USB_CDC_GET_ENCAPSULATED_RESPONSE message

On Monday 18 February 2008, Jan Altenberg wrote:
> Hi all,
> 
> commit 0cf4f2de0a0f4100795f38ef894d4910678c74f8 introduced a bug, which
> prevents sending an USB_CDC_GET_ENCAPSULATED_RESPONSE message. This
> breaks the RNDIS initialization (especially / only Windoze machines
> dislike this behavior...).
> 
> Signed-off-by: Benedikt Spranger <b.spranger@...utronix.de>
> Signed-off-by: Jan Altenberg <jan.altenberg@...utronix.de>

Acked-by: David Brownell <dbrownell@...rs.sourceforge.net>


> ---
>  drivers/usb/gadget/ether.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> Index: linux-2.6.24/drivers/usb/gadget/ether.c
> ===================================================================
> --- linux-2.6.24.orig/drivers/usb/gadget/ether.c
> +++ linux-2.6.24/drivers/usb/gadget/ether.c
> @@ -1568,6 +1568,7 @@ done_set_intf:
>  				memcpy(req->buf, buf, n);
>  				req->complete = rndis_response_complete;
>  				rndis_free_response(dev->rndis_config, buf);
> +				value = n;
>  			}
>  			/* else stalls ... spec says to avoid that */
>  		}
> 
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ