commit | 2102e06a5f2e414694921f23591f072a5ba7db9f | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Wed Jul 04 09:18:01 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jul 06 10:53:19 2012 -0700 |
tree | 604e68f38bb4cf2e5254614b084e04999e2d4a6d | |
parent | 02f824ac75d1c861aae59be5d6d739043c2066e7 [diff] |
usbdevfs: Correct amount of data copied to user in processcompl_compat iso data buffers may have holes in them if some packets were short, so for iso urbs we should always copy the entire buffer, just like the regular processcompl does. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> CC: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>