diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-07-04 11:18:01 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-06 21:53:19 +0400 |
commit | 2102e06a5f2e414694921f23591f072a5ba7db9f (patch) | |
tree | 604e68f38bb4cf2e5254614b084e04999e2d4a6d /include/linux/usb.h | |
parent | 02f824ac75d1c861aae59be5d6d739043c2066e7 (diff) | |
download | linux-2102e06a5f2e414694921f23591f072a5ba7db9f.tar.xz |
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>
Diffstat (limited to 'include/linux/usb.h')
0 files changed, 0 insertions, 0 deletions