]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-scsi: don't let virtio core to validate used buffer length
authorJason Wang <jasowang@redhat.com>
Wed, 27 Oct 2021 02:21:07 +0000 (10:21 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Nov 2021 09:26:49 +0000 (05:26 -0400)
commit522f478cbb17b2e752e9d79cecee30f31e9cb123
tree24600d287dc71ab8da023c09dfa0311914239cb3
parent995fcc331bd87243f1a03bd44a98736f9b561b20
virtio-scsi: don't let virtio core to validate used buffer 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-5-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/scsi/virtio_scsi.c