diff options
author | 2021-10-20 19:23:23 +0800 | |
---|---|---|
committer | 2021-11-01 05:26:47 -0400 | |
commit | fc6d70f40b3d0b3219e2026d05be0409695f620d (patch) | |
tree | 3fb359046740ee13ddfc75f39b563b1590b119d1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | virtio_ring: make virtqueue_add_indirect_packed prettier (diff) | |
download | wireguard-linux-fc6d70f40b3d0b3219e2026d05be0409695f620d.tar.xz wireguard-linux-fc6d70f40b3d0b3219e2026d05be0409695f620d.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions