diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-03-06 15:04:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-19 07:24:02 -0700 |
commit | 7152b592593b9d48b33f8997b1dfd6df9143f7ec (patch) | |
tree | 9c3ce2e80dd257794674a89195fd7cc4478d3742 /drivers/usb/serial/generic.c | |
parent | a3d3203e4bb40f253b1541e310dc0f9305be7c84 (diff) |
USB: fix usbfs regression
This patch (as1352) fixes a bug in the way isochronous input data is
returned to userspace for usbfs transfers. The entire buffer must be
copied, not just the first actual_length bytes, because the individual
packets will be discontiguous if any of them are short.
Reported-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/generic.c')
0 files changed, 0 insertions, 0 deletions