summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/vhost.c
diff options
context:
space:
mode:
authorMike Christie <michael.christie@oracle.com>2020-09-21 13:23:01 -0500
committerMichael S. Tsirkin <mst@redhat.com>2020-09-30 11:25:06 -0400
commit37787e9f81e2e586b526ff5c29c94e4f41513e80 (patch)
treee0de7f0adee27b2d89b286e0e1342523c09ecb97 /drivers/vhost/vhost.c
parenta127c5bbb6a8eee851cbdec254424c480b8edd75 (diff)
downloadlinux-37787e9f81e2e586b526ff5c29c94e4f41513e80.tar.bz2
vhost vdpa: fix vhost_vdpa_open error handling
We must free the vqs array in the open failure path, because vhost_vdpa_release will not be called. Signed-off-by: Mike Christie <michael.christie@oracle.com> Link: https://lore.kernel.org/r/1600712588-9514-2-git-send-email-michael.christie@oracle.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/vhost/vhost.c')
0 files changed, 0 insertions, 0 deletions