Skip to content

Commit 6318cb8

Browse files
committed
Revert "virtio-scsi: don't let virtio core to validate used buffer length"
This reverts commit c57911e. 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>
1 parent 1360572 commit 6318cb8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/scsi/virtio_scsi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,6 @@ static unsigned int features[] = {
977977
static struct virtio_driver virtio_scsi_driver = {
978978
.feature_table = features,
979979
.feature_table_size = ARRAY_SIZE(features),
980-
.suppress_used_validation = true,
981980
.driver.name = KBUILD_MODNAME,
982981
.driver.owner = THIS_MODULE,
983982
.id_table = id_table,

0 commit comments

Comments
 (0)