mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Fix error exit path in __gnttab_map_grant_ref() to
put_domain() and hence avoid zombie domains. Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
This commit is contained in:
1 parent
434badf2d4
commit
11a47e4094
1 file changed
+1
@@ -316,6 +316,7 @@ __gnttab_map_grant_ref(
|
||||
spin_unlock(&rd->grant_table->lock);
|
||||
(void)__put_user(rc, &uop->status);
|
||||
put_maptrack_handle(ld->grant_table, handle);
|
||||
put_domain(rd);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||