Revert "virtio-scsi: don't let virtio core to validate used buffer length"
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Nov 2021 23:44:02 +0000 (18:44 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Nov 2021 23:46:16 +0000 (18:46 -0500)
commit6318cb887548c70778d10c0fcb7134b4454ab8a6
tree2a6c62837066b95761b05fbdb7666cda7173d4dc
parent136057256686de39cc3a07c2e39ef6bc43003ff6
Revert "virtio-scsi: don't let virtio core to validate used buffer length"

This reverts commit c57911ebfbfe745cb95da2bcf547c5bae000590f.

Attempts to validate length in the core did not work out.  We'll drop
them for now, so revert the dependent changes in drivers.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/scsi/virtio_scsi.c