summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2021-11-25 00:44:09 +0100
committerMichael S. Tsirkin <mst@redhat.com>2021-11-25 00:47:17 +0100
commit2b17d9f84884a37f1324be5526c6600e97a47fbe (patch)
tree25b08cb91f9a97e908800b4be7a6d1ed2e3936d7
parentRevert "virtio-scsi: don't let virtio core to validate used buffer length" (diff)
downloadlinux-2b17d9f84884a37f1324be5526c6600e97a47fbe.tar.xz
linux-2b17d9f84884a37f1324be5526c6600e97a47fbe.zip
Revert "virtio-blk: don't let virtio core to validate used length"
This reverts commit a40392edf1b2c7822bc0ce68413106661a9d4232. Attempts to validate length in the core did not work out. We'll drop them, so revert the dependent changes in drivers. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--drivers/block/virtio_blk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
index 97bf051a50ce..1a1b1189225d 100644
--- a/drivers/block/virtio_blk.c
+++ b/drivers/block/virtio_blk.c
@@ -1049,7 +1049,6 @@ static struct virtio_driver virtio_blk = {
.feature_table_size = ARRAY_SIZE(features),
.feature_table_legacy = features_legacy,
.feature_table_size_legacy = ARRAY_SIZE(features_legacy),
- .suppress_used_validation = true,
.driver.name = KBUILD_MODNAME,
.driver.owner = THIS_MODULE,
.id_table = id_table,