aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/virtio_uml.c
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <[email protected]>2020-03-17 00:45:07 +0000
committerRichard Weinberger <[email protected]>2020-03-29 21:21:37 +0000
commite355b2f55efc4633409ada14125c9e28ad2de012 (patch)
tree445a3507b25758f740ce9cd9a02deab24ce01755 /arch/um/drivers/virtio_uml.c
parentum: ubd: Prevent buffer overrun on command completion (diff)
downloadkernel-e355b2f55efc4633409ada14125c9e28ad2de012.tar.gz
kernel-e355b2f55efc4633409ada14125c9e28ad2de012.zip
um: ubd: Retry buffer read on any kind of error
Should bulk_req_safe_read return an error, we want to retry the read, otherwise, even though no IO will be done, os_write_file might still end up writing garbage to the pipe. Cc: Martyn Welch <[email protected]> Signed-off-by: Gabriel Krisman Bertazi <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'arch/um/drivers/virtio_uml.c')
0 files changed, 0 insertions, 0 deletions