WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix error exit path in __gnttab_map_grant_ref() to

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix error exit path in __gnttab_map_grant_ref() to
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 13 Feb 2006 12:34:09 +0000
Delivery-date: Mon, 13 Feb 2006 12:47:11 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 4caca2046421c73e822e268964a404368fc6996c
# Parent  6ff2db6072567ae3f7a8213e7624fab44d9d177d
Fix error exit path in __gnttab_map_grant_ref() to
put_domain() and hence avoid zombie domains.

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>

diff -r 6ff2db607256 -r 4caca2046421 xen/common/grant_table.c
--- a/xen/common/grant_table.c  Mon Feb 13 09:19:14 2006
+++ b/xen/common/grant_table.c  Mon Feb 13 09:23:26 2006
@@ -316,6 +316,7 @@
     spin_unlock(&rd->grant_table->lock);
     (void)__put_user(rc, &uop->status);
     put_maptrack_handle(ld->grant_table, handle);
+    put_domain(rd);
     return rc;
 }
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix error exit path in __gnttab_map_grant_ref() to, Xen patchbot -unstable <=