]> xenbits.xensource.com Git - xen.git/commit
fix domain unlocking in some xsm error paths
authorMatthew Daley <mattjd@gmail.com>
Wed, 6 Mar 2013 16:10:26 +0000 (17:10 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 6 Mar 2013 16:10:26 +0000 (17:10 +0100)
commit9581c4f9a55372a21e759cd449cb676d0e8feddb
treee2c302dd26afb53166f7b9dba8c9ef398444d2fc
parent17b65c793ca5e924f355d433945d868b4427ea12
fix domain unlocking in some xsm error paths

A couple of xsm error/access-denied code paths in hypercalls neglect to
unlock a previously locked domain. Fix by ensuring the domains are
unlocked correctly.

Signed-off-by: Matthew Daley <mattjd@gmail.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/physdev.c
xen/common/grant_table.c