linux_dsm_epyc7002/drivers/vhost
Benjamin Coddington a77ec83a57 vhost/scsi: fix reuse of &vq->iov[out] in response
The address of the iovec &vq->iov[out] is not guaranteed to contain the scsi
command's response iovec throughout the lifetime of the command.  Rather, it
is more likely to contain an iovec from an immediately following command
after looping back around to vhost_get_vq_desc().  Pass along the iovec
entirely instead.

Fixes: 79c14141a4 ("vhost/scsi: Convert completion path to use copy_to_iter")
Cc: stable@vger.kernel.org
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-08-23 17:16:57 +03:00
..
Kconfig vhost: split out vringh Kconfig 2016-08-02 16:54:28 +03:00
Kconfig.vringh vhost: split out vringh Kconfig 2016-08-02 16:54:28 +03:00
Makefile VSOCK: Add Makefile and Kconfig 2016-08-02 02:57:30 +03:00
net.c virtio/vhost: new features for 4.8 2016-08-06 09:20:13 -04:00
scsi.c vhost/scsi: fix reuse of &vq->iov[out] in response 2016-08-23 17:16:57 +03:00
test.c vhost/test: fix after swiotlb changes 2016-08-15 05:05:51 +03:00
test.h
vhost.c vhost: detect 32 bit integer wrap around 2016-08-02 16:54:28 +03:00
vhost.h vhost: new device IOTLB API 2016-08-02 16:53:54 +03:00
vringh.c
vsock.c vhost/vsock: fix vhost virtio_vsock_pkt use-after-free 2016-08-09 13:42:37 +03:00