Re: usbfs and MAX_USBFS_BUFFER_SIZE

Pete Zaitcev <[email protected]>
Newsgroups gmane.linux.usb.general,gmane.linux.usb.devel
Organization Red Hat, Inc.
Message-ID <[email protected]>
On Sun, 02 Dec 2007 22:26:34 +0000, Daniel Drake <[email protected]> wrote:

> Fair argument. I haven't actually tried sending a big urb through 
> USBDEVFS_CONTROL but I noticed that MAX_USBFS_BUFFER_SIZE is not checked 
> in that codepath. I wonder if something else in the chain will reject 
> big control urbs.

But you did want it for something, didn't you? Or just idle curiosity?
If you're writing microcode, please avoid using control transfers for
uploading firmware without breaking it up explicitly.

-- Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.