Commit 6318cb88 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin

Revert "virtio-scsi: don't let virtio core to validate used buffer length"

This reverts commit c57911eb.

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: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 13605725
...@@ -977,7 +977,6 @@ static unsigned int features[] = { ...@@ -977,7 +977,6 @@ static unsigned int features[] = {
static struct virtio_driver virtio_scsi_driver = { static struct virtio_driver virtio_scsi_driver = {
.feature_table = features, .feature_table = features,
.feature_table_size = ARRAY_SIZE(features), .feature_table_size = ARRAY_SIZE(features),
.suppress_used_validation = true,
.driver.name = KBUILD_MODNAME, .driver.name = KBUILD_MODNAME,
.driver.owner = THIS_MODULE, .driver.owner = THIS_MODULE,
.id_table = id_table, .id_table = id_table,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment