commit | 816625c13652cef5b2c49082d652875da6f2ad7a | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Wed Oct 27 10:21:05 2021 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Mon Nov 01 05:26:48 2021 -0400 |
tree | 3da598330426e44ebbb56b81de400050f148303a | |
parent | 939779f5152d161b34f612af29e7dc1ac4472fcf [diff] |
virtio-net: don't let virtio core to validate used length For RX virtuqueue, the used length is validated in all the three paths (big, small and mergeable). For control vq, we never tries to use used length. So this patch forbids the core to validate the used length. Signed-off-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20211027022107.14357-3-jasowang@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>