commit | 7152b592593b9d48b33f8997b1dfd6df9143f7ec | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Sat Mar 06 15:04:03 2010 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Mar 19 07:24:02 2010 -0700 |
tree | 9c3ce2e80dd257794674a89195fd7cc4478d3742 | |
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>