diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2021-11-25 00:44:02 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-11-25 00:46:16 +0100 |
commit | 6318cb887548c70778d10c0fcb7134b4454ab8a6 (patch) | |
tree | 2a6c62837066b95761b05fbdb7666cda7173d4dc | |
parent | Linux 5.16-rc2 (diff) | |
download | linux-6318cb887548c70778d10c0fcb7134b4454ab8a6.tar.xz linux-6318cb887548c70778d10c0fcb7134b4454ab8a6.zip |
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>
-rw-r--r-- | drivers/scsi/virtio_scsi.c | 1 |
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, |