ia64/xen-unstable

changeset 5823:d75a502b45eb

Simple grant-table fix (check_unmap).
By Chris Clark and Stefan Berger.
author kaf24@firebug.cl.cam.ac.uk
date Fri Jul 15 19:57:12 2005 +0000 (2005-07-15)
parents 6891f0c11683
children 43e28a2f6037
files xen/common/grant_table.c
line diff
     1.1 --- a/xen/common/grant_table.c	Fri Jul 15 19:34:10 2005 +0000
     1.2 +++ b/xen/common/grant_table.c	Fri Jul 15 19:57:12 2005 +0000
     1.3 @@ -903,6 +903,9 @@ gnttab_check_unmap(
     1.4      {
     1.5          map = &lgt->maptrack[handle];
     1.6  
     1.7 +        if ( map->domid != rd->domain_id )
     1.8 +            continue;
     1.9 +
    1.10          if ( ( map->ref_and_flags & MAPTRACK_GNTMAP_MASK ) &&
    1.11               ( readonly ? 1 : (!(map->ref_and_flags & GNTMAP_readonly))))
    1.12          {