Michal Sojka 9d02b42614 USB: Do not pass negative length to snoop_urb()
When `echo Y > /sys/module/usbcore/parameters/usbfs_snoop` and
usb_control_msg() returns error, a lot of kernel memory is dumped to dmesg
until unhandled kernel paging request occurs.

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-23 13:14:16 -07:00
..
2011-02-23 16:26:46 +00:00
2011-03-22 17:43:59 -07:00
2011-03-17 14:05:34 +01:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:44:17 -07:00
2011-03-22 17:43:59 -07:00
2011-03-07 13:10:27 -08:00
2011-02-17 09:52:03 -08:00
2011-02-17 09:52:03 -08:00