Message ID | 20231006181504.3297196-10-mjt@tls.msk.ru |
---|---|
State | New |
Headers | show |
Series | Patch Round-up for stable 8.1.2, freeze on 2023-10-14 | expand |
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c index 1c79e33170..cda6099ceb 100644 --- a/net/vhost-vdpa.c +++ b/net/vhost-vdpa.c @@ -1291,6 +1291,7 @@ static int vhost_vdpa_probe_cvq_isolation(int device_fd, uint64_t features, r = ioctl(device_fd, VHOST_SET_FEATURES, &features); if (unlikely(r)) { error_setg_errno(errp, errno, "Cannot set features"); + goto out; } r = ioctl(device_fd, VHOST_VDPA_SET_STATUS, &status);