Skip to content

Commit fcfb65f

Browse files
committed
Revert "virtio-net: don't let virtio core to validate used length"
This reverts commit 816625c. 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>
1 parent 2b17d9f commit fcfb65f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/net/virtio_net.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3423,7 +3423,6 @@ static struct virtio_driver virtio_net_driver = {
34233423
.feature_table_size = ARRAY_SIZE(features),
34243424
.feature_table_legacy = features_legacy,
34253425
.feature_table_size_legacy = ARRAY_SIZE(features_legacy),
3426-
.suppress_used_validation = true,
34273426
.driver.name = KBUILD_MODNAME,
34283427
.driver.owner = THIS_MODULE,
34293428
.id_table = id_table,

0 commit comments

Comments
 (0)