]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-blk: don't let virtio core to validate used length
authorJason Wang <jasowang@redhat.com>
Wed, 27 Oct 2021 02:21:06 +0000 (10:21 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Nov 2021 09:26:48 +0000 (05:26 -0400)
commit11b43e80b9801bb9dca8e0702406906920f3f184
treeba59d7eb0a700b312664868de5fe499a40172d71
parentf049060f46a02adcd7545f6b53bab8acb00320e5
virtio-blk: don't let virtio core to validate used length

We never tries to use used length, so the patch prevents the virtio
core from validating used length.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20211027022107.14357-4-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/block/virtio_blk.c