On Thu, May 18, 2006 at 11:33:39AM -0700, Micah Dowty wrote:
> This patch cleans up a few arbitrary limits in usbfs:
> 
> 1. The data stage of a control request was being limited
>    to 4096-8 bytes, when in actuality a 4096-byte data stage
>    is legal. This is necessary to write userspace drivers
>    for some devices, such as ATI's USB TV-Wonder tuner.
> 
> 2. The arbitrary limit on Isochronous packets was too small
>    to support writing userspace drivers for USB 2.0 devices
>    that require high-bandwidth isochronous transfers.
> 
> 3. Isochronous transfers had a higher arbitrary buffer size
>    limit than bulk/interrupt transfers. Isochronous transfers
>    now use MAX_USBFS_BUFFER_SIZE, which has been raised to 32K.
>    These limits are in place not to enforce the USB spec, but
>    to prevent userspace applications from abusing kmalloc().
>    We might as well allow all transfers access to the higher
>    32K limit, since it was already possible for a malicious
>    userspace app to allocate 32K at a time using isochronous
>    URBs.

Can you split this up into 3 patches please?  1 thing per patch is the
best way.

> 
> Signed-off-by: Micah Dowty <micah <at> vmware.com>

Real email address please.

> 
> --- .pc/usbfs-limits/drivers/usb/core/devio.c 2005-01-19 14:57:04.000000000
> -0800

Wrong patch level.
And line-wrapped patch :(

Care to try again?

thanks,

greg k-h


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to