Home
last modified time | relevance | path

Searched hist:fc6d70f40b3d0b3219e2026d05be0409695f620d (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/virtio/
H A Dvirtio_ring.cdiff fc6d70f40b3d0b3219e2026d05be0409695f620d Wed Oct 20 06:23:23 CDT 2021 Xuan Zhuo <xuanzhuo@linux.alibaba.com> virtio_ring: check desc == NULL when using indirect with packed

When using indirect with packed, we don't check for allocation failures.
This patch checks that and fall back on direct.

Fixes: 1ce9e6055fa0 ("virtio_ring: introduce packed ring support")
Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Link: https://lore.kernel.org/r/20211020112323.67466-3-xuanzhuo@linux.alibaba.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>