projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3607f64
)
x86: fix map_domain_page() leak from vcpu_destroy_pagetables()
author
Jan Beulich
<jbeulich@suse.com>
Wed, 13 Feb 2013 08:31:48 +0000
(09:31 +0100)
committer
Jan Beulich
<jbeulich@suse.com>
Wed, 13 Feb 2013 08:31:48 +0000
(09:31 +0100)
Introduced by c/s 26450:
4816763549e0
and exposed with
26523:
fd997a96d448
.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/domain.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/domain.c
b/xen/arch/x86/domain.c
index a58cc1a98f6c84ec6efe37f5618290cc00f0c03a..b7f6749cca32ac3c707c18c7176487c6300d8004 100644
(file)
--- a/
xen/arch/x86/domain.c
+++ b/
xen/arch/x86/domain.c
@@
-1997,6
+1997,7
@@
static void vcpu_destroy_pagetables(struct vcpu *v)
}
l4e_write(l4tab, l4e_empty());
+ unmap_domain_page(l4tab);
v->arch.cr3 = 0;
return;