commit | 8e5dadfe76cf2862ebf3e4f22adef29982df7766 | [log] [tgz] |
---|---|---|
author | Bijan Mottahedeh <bijan.mottahedeh@oracle.com> | Mon Dec 03 16:48:23 2018 -0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Mon Jan 14 20:28:08 2019 -0500 |
tree | d5be0bca9014695f3b8abaa89e26d7256605333f | |
parent | 74ad7419489ddade8044e3c9ab064ad656520306 [diff] |
vhost/scsi: Use copy_to_iter() to send control queue response Uses copy_to_iter() instead of __copy_to_user() in order to ensure we support arbitrary layouts and an input buffer split across iov entries. Fixes: 0d02dbd68c47b ("vhost/scsi: Respond to control queue operations") Signed-off-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>