Revert "virtio-net: don't let virtio core to validate used length"
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Nov 2021 23:44:13 +0000 (18:44 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Nov 2021 23:47:22 +0000 (18:47 -0500)
commitfcfb65f8a922c7dd25a2e9913601dae979ce6560
treeddfb2d31b5ff780f75b7dc458d8c58c09d10361a
parent2b17d9f84884a37f1324be5526c6600e97a47fbe
Revert "virtio-net: don't let virtio core to validate used length"

This reverts commit 816625c13652cef5b2c49082d652875da6f2ad7a.

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>
drivers/net/virtio_net.c