This small series addresses two issues in the virtio-pci driver related
to admin command handling:
1. Fix an incorrect result size in admin command completion, which
was causing issues with state transfer and buffer allocation.
2. Add a safety check for the length of device-writable portions in
admin commands, ensuring compliance with the virtio specification.
Israel Rukshin (2):
virtio-pci: Fix result size returned for the admin command completion
virtio-pci: Add admin command length check for device writable
portions
drivers/virtio/virtio_pci_modern.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--
2.34.1