[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Simple grant-table fix (check_unmap).



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID d75a502b45eba186f2c51ea8fc3dc5aa8f0e3a4a
# Parent  6891f0c1168384b35bc6758363d9326c3d538f79

Simple grant-table fix (check_unmap).
By Chris Clark and Stefan Berger.

diff -r 6891f0c11683 -r d75a502b45eb xen/common/grant_table.c
--- a/xen/common/grant_table.c  Fri Jul 15 19:34:10 2005
+++ b/xen/common/grant_table.c  Fri Jul 15 19:57:12 2005
@@ -903,6 +903,9 @@
     {
         map = &lgt->maptrack[handle];
 
+        if ( map->domid != rd->domain_id )
+            continue;
+
         if ( ( map->ref_and_flags & MAPTRACK_GNTMAP_MASK ) &&
              ( readonly ? 1 : (!(map->ref_and_flags & GNTMAP_readonly))))
         {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.