diff options
author | Jason Wang | 2021-09-03 11:10:19 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2021-09-04 23:34:05 +0200 |
commit | a97ef87a205ee957c367ebc7621bd9860ad6047d (patch) | |
tree | 70001feabd196bb4571e964ef5dbc8c865305e26 /scripts | |
parent | vhost-vdpa: fix leaking of vhost_net in vhost_vdpa_add() (diff) | |
download | qemu-a97ef87a205ee957c367ebc7621bd9860ad6047d.tar.gz qemu-a97ef87a205ee957c367ebc7621bd9860ad6047d.tar.xz qemu-a97ef87a205ee957c367ebc7621bd9860ad6047d.zip |
vhost-vdpa: tweak the error label in vhost_vdpa_add()
Introduce new error label to avoid the unnecessary checking of net
pointer.
Fixes: 1e0a84ea49b68 ("vhost-vdpa: introduce vhost-vdpa net client")
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20210903091031.47303-10-jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions