summaryrefslogtreecommitdiff
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2022-06-30 17:32:21 +0200
committerMichael S. Tsirkin <mst@redhat.com>2022-08-11 04:26:07 -0400
commit8472019eec2ccff60144d8585367b2856a59416e (patch)
treeff2df3639ffdc65144bac9daa76ca71345dd651a /mm/vmalloc.c
parent9c4df0900f376f28e8e5cca640a10a0085f16b66 (diff)
downloadlinux-8472019eec2ccff60144d8585367b2856a59416e.tar.gz
linux-8472019eec2ccff60144d8585367b2856a59416e.tar.bz2
linux-8472019eec2ccff60144d8585367b2856a59416e.zip
vdpa_sim_blk: call vringh_complete_iotlb() also in the error path
Call vringh_complete_iotlb() even when we encounter a serious error that prevents us from writing the status in the "in" header (e.g. the header length is incorrect, etc.). The guest is misbehaving, so maybe the ring is in a bad state, but let's avoid making things worse. Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Message-Id: <20220630153221.83371-4-sgarzare@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions