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 the error recovery at the undo_out label in __gnttab

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix the error recovery at the undo_out label in __gnttab_map_grant_ref to
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 09 Jan 2006 13:08:10 +0000
Delivery-date: Mon, 09 Jan 2006 13:15:09 +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 emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 2a0aded8fe601d8db480719e5479bb21bbc2c5bf
# Parent  a848ee1c982213f2eca241a77173a0cc313a74df
Fix the error recovery at the undo_out label in __gnttab_map_grant_ref to
not unlock the spinlock twice (which causes a BUG).

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r a848ee1c9822 -r 2a0aded8fe60 xen/common/grant_table.c
--- a/xen/common/grant_table.c  Tue Jan  3 16:29:42 2006
+++ b/xen/common/grant_table.c  Mon Jan  9 11:17:55 2006
@@ -311,8 +311,6 @@
 
     if ( !act->pin )
         clear_bit(_GTF_reading, &sha->flags);
-
-    spin_unlock(&rd->grant_table->lock);
 
  unlock_out:
     spin_unlock(&rd->grant_table->lock);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix the error recovery at the undo_out label in __gnttab_map_grant_ref to, Xen patchbot -unstable <=