diff options
author | Michal Sojka <sojkam1@fel.cvut.cz> | 2011-03-15 16:41:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-23 13:14:16 -0700 |
commit | 9d02b42614149ebccf12c9c580601ed01bd83070 (patch) | |
tree | 010f30f5acba34e61aeff61e47aeaad8306ce1ff /drivers/ata/pata_sil680.c | |
parent | 4bbba111d94781d34081c37856bbc5eb33f6c72a (diff) |
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>
Diffstat (limited to 'drivers/ata/pata_sil680.c')
0 files changed, 0 insertions, 0 deletions