[PATCH v1 0/2] iommu/virtio: Harden event handling

weimin xiong <[email protected]>
Newsgroups dev.linux.lists.virtualization,dev.linux.lists.iommu,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
From: Xiong Weimin <[email protected]>

Hi,

This follow-up series hardens virtio-iommu event handling.

It is based on the probe error handling fixes sent earlier:

  [PATCH v1 0/2] iommu/virtio: Fix probe error handling
  Message-ID: <[email protected]>

The first patch makes sure vq->vdev->priv is initialized before
virtqueues can invoke callbacks. The second patch rejects short event
buffers before reading the event contents.

Xiong Weimin (2):
  iommu/virtio: Set driver data before enabling virtqueues
  iommu/virtio: Reject short event buffers

 drivers/iommu/virtio-iommu.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.