summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2016-05-21 20:47:35 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-06-21 11:11:31 +0300
commit9353afbbfa7b10779a1aa108fcc23e32fd625990 (patch)
treebcb04f4d191a444798af2e2847e3096e8a31ce4e /include/linux/usb
parentc662a31be755f5e315945e2c802c335eb8baddb8 (diff)
downloadlinux-9353afbbfa7b10779a1aa108fcc23e32fd625990.tar.gz
linux-9353afbbfa7b10779a1aa108fcc23e32fd625990.tar.bz2
linux-9353afbbfa7b10779a1aa108fcc23e32fd625990.zip
usb: gadget: f_fs: buffer data from ‘oversized’ OUT requests
f_fs rounds up read(2) requests to a multiple of a max packet size which means that host may provide more data than user has space for. So far, the excess data has been silently ignored. This introduces a buffer for a tail of such requests so that they are returned on next read instead of being ignored. Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'include/linux/usb')
0 files changed, 0 insertions, 0 deletions