summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>2021-10-20 19:23:23 +0800
committerMichael S. Tsirkin <mst@redhat.com>2021-11-01 05:26:47 -0400
commitfc6d70f40b3d0b3219e2026d05be0409695f620d (patch)
tree3fb359046740ee13ddfc75f39b563b1590b119d1 /tools/perf/scripts/python
parent8d7670f3734eed45bb9d00d8fd1201f662bc667f (diff)
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')
0 files changed, 0 insertions, 0 deletions