Unverified Commit 15f82233 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!8391 [sync] PR-8109: vhost-vdpa: fix use after free in vhost_vdpa_probe()

parents 99690bd5 b273f4bc
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1702,7 +1702,6 @@ static int vhost_vdpa_probe(struct vdpa_device *vdpa)

err:
	put_device(&v->dev);
	ida_simple_remove(&vhost_vdpa_ida, v->minor);
	return r;
}