summaryrefslogtreecommitdiff
path: root/emulators/xen-kernel/files/xsa151.patch
diff options
context:
space:
mode:
authorRoger Pau Monné <royger@FreeBSD.org>2015-11-14 09:27:31 +0000
committerRoger Pau Monné <royger@FreeBSD.org>2015-11-14 09:27:31 +0000
commit9da11fae5635a37a9ddffaf4d748819929f75cfc (patch)
tree98cdd042aca2818e51c414d6af54d4b42d4875e5 /emulators/xen-kernel/files/xsa151.patch
parent- Switch to options helpers (diff)
xen: update to 4.5.2
...and add XSA-156. Sponsored by: Citrix Systems R&D Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D4150
Notes
Notes: svn path=/head/; revision=401564
Diffstat (limited to 'emulators/xen-kernel/files/xsa151.patch')
-rw-r--r--emulators/xen-kernel/files/xsa151.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/emulators/xen-kernel/files/xsa151.patch b/emulators/xen-kernel/files/xsa151.patch
deleted file mode 100644
index 1f0277ea789a..000000000000
--- a/emulators/xen-kernel/files/xsa151.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-xenoprof: free domain's vcpu array
-
-This was overlooked in fb442e2171 ("x86_64: allow more vCPU-s per
-guest").
-
-This is XSA-151.
-
-Signed-off-by: Jan Beulich <jbeulich@suse.com>
-Reviewed-by: Ian Campbell <ian.campbell@citrix.com>
-
---- a/xen/common/xenoprof.c
-+++ b/xen/common/xenoprof.c
-@@ -239,6 +239,7 @@ static int alloc_xenoprof_struct(
- d->xenoprof->rawbuf = alloc_xenheap_pages(get_order_from_pages(npages), 0);
- if ( d->xenoprof->rawbuf == NULL )
- {
-+ xfree(d->xenoprof->vcpu);
- xfree(d->xenoprof);
- d->xenoprof = NULL;
- return -ENOMEM;
-@@ -286,6 +287,7 @@ void free_xenoprof_pages(struct domain *
- free_xenheap_pages(x->rawbuf, order);
- }
-
-+ xfree(x->vcpu);
- xfree(x);
- d->xenoprof = NULL;
- }