ia64/xen-unstable

changeset 8839:4caca2046421

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>
author kaf24@firebug.cl.cam.ac.uk
date Mon Feb 13 10:23:26 2006 +0100 (2006-02-13)
parents 6ff2db607256
children 9f662b5e7d3c
files xen/common/grant_table.c
line diff
     1.1 --- a/xen/common/grant_table.c	Mon Feb 13 10:19:14 2006 +0100
     1.2 +++ b/xen/common/grant_table.c	Mon Feb 13 10:23:26 2006 +0100
     1.3 @@ -316,6 +316,7 @@ static int
     1.4      spin_unlock(&rd->grant_table->lock);
     1.5      (void)__put_user(rc, &uop->status);
     1.6      put_maptrack_handle(ld->grant_table, handle);
     1.7 +    put_domain(rd);
     1.8      return rc;
     1.9  }
    1.10