summaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2021-11-25 02:44:02 +0300
committerMichael S. Tsirkin <mst@redhat.com>2021-11-25 02:46:16 +0300
commit6318cb887548c70778d10c0fcb7134b4454ab8a6 (patch)
tree2a6c62837066b95761b05fbdb7666cda7173d4dc /drivers/scsi
parent136057256686de39cc3a07c2e39ef6bc43003ff6 (diff)
downloadlinux-6318cb887548c70778d10c0fcb7134b4454ab8a6.tar.xz
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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/virtio_scsi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c
index 19f7d7b90625..28e1d98ae102 100644
--- a/drivers/scsi/virtio_scsi.c
+++ b/drivers/scsi/virtio_scsi.c
@@ -977,7 +977,6 @@ static unsigned int features[] = {
static struct virtio_driver virtio_scsi_driver = {
.feature_table = features,
.feature_table_size = ARRAY_SIZE(features),
- .suppress_used_validation = true,
.driver.name = KBUILD_MODNAME,
.driver.owner = THIS_MODULE,
.id_table = id_table,