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] [xen-unstable] acm: Fix an exit label.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] acm: Fix an exit label.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Nov 2007 07:40:08 -0800
Delivery-date: Fri, 23 Nov 2007 07:40:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1195753491 0
# Node ID ae087a0fa2c929842293b5c26dcd6acb9bdd748d
# Parent  d3041196ae69e8ea8cc9adde3a2e866d23ab30f4
acm: Fix an exit label.

Jump to a different error exit label if error occurs early in the
policy update process.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 xen/xsm/acm/acm_policy.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r d3041196ae69 -r ae087a0fa2c9 xen/xsm/acm/acm_policy.c
--- a/xen/xsm/acm/acm_policy.c  Thu Nov 22 17:43:29 2007 +0000
+++ b/xen/xsm/acm/acm_policy.c  Thu Nov 22 17:44:51 2007 +0000
@@ -104,7 +104,7 @@ _acm_update_policy(void *buf, u32 buf_si
     /* if ssidrefs are to be deleted, make sure no domain is using them */
     if ( deletions != NULL )
         if ( acm_check_deleted_ssidrefs(deletions, errors) )
-            goto error_lock_free;
+            goto error_lock_free_nossidchange;
 
     if ( (ssidchanges != NULL) && (ssidchanges->num_items > 0) )
         /* assign all running domains new ssidrefs as requested */
@@ -169,6 +169,7 @@ error_lock_free:
     {
         acm_doms_restore_ssidref();
     }
+error_lock_free_nossidchange:
     do_chwall_init_state_curr(NULL);
     write_unlock(&acm_bin_pol_rwlock);
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] acm: Fix an exit label., Xen patchbot-unstable <=