17854f1c81
25833-32on64-bogus-pt_base-adjust.patch 25835-adjust-rcu-lock-domain.patch 25836-VT-d-S3-MSI-resume.patch 25850-tmem-xsa-15-1.patch 25851-tmem-xsa-15-2.patch 25852-tmem-xsa-15-3.patch 25853-tmem-xsa-15-4.patch 25854-tmem-xsa-15-5.patch 25855-tmem-xsa-15-6.patch 25856-tmem-xsa-15-7.patch 25857-tmem-xsa-15-8.patch 25858-tmem-xsa-15-9.patch 25859-tmem-missing-break.patch 25860-tmem-cleanup.patch 25861-x86-early-fixmap.patch 25862-sercon-non-com.patch 25863-sercon-ehci-dbgp.patch 25864-sercon-unused.patch 25866-sercon-ns16550-pci-irq.patch 25867-sercon-ns16550-parse.patch 25874-x86-EFI-chain-cfg.patch 25909-xenpm-consistent.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=201
42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
# HG changeset patch
|
|
# User Dan Magenheimer <dan.magenheimer@oracle.com>
|
|
# Date 1347365943 -7200
|
|
# Node ID 16e0392c6594b1757bbaa82076630a73d843229b
|
|
# Parent 0520982a602a3ac06dd5bc573ddaff5edc9c6987
|
|
tmem: fixup 2010 cleanup patch that breaks tmem save/restore
|
|
|
|
20918:a3fa6d444b25 "Fix domain reference leaks" (in Feb 2010, by Jan)
|
|
does some cleanup in addition to the leak fixes. Unfortunately, that
|
|
cleanup inadvertently resulted in an incorrect fallthrough in a switch
|
|
statement which breaks tmem save/restore.
|
|
|
|
That broken patch was apparently applied to 4.0-testing and 4.1-testing
|
|
so those are broken as well.
|
|
|
|
What is the process now for requesting back-patches to 4.0 and 4.1?
|
|
|
|
(Side note: This does not by itself entirely fix save/restore in 4.2.)
|
|
|
|
Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
|
|
Signed-off-by: Jan Beulich <jbeulich@suse.com>
|
|
Committed-by: Jan Beulich <jbeulich@suse.com>
|
|
|
|
--- a/xen/common/tmem.c
|
|
+++ b/xen/common/tmem.c
|
|
@@ -2419,6 +2419,7 @@ static NOINLINE int tmemc_save_subop(int
|
|
break;
|
|
tmh_copy_to_client_buf(buf, pool->uuid, 2);
|
|
rc = 0;
|
|
+ break;
|
|
case TMEMC_SAVE_END:
|
|
if ( client == NULL )
|
|
break;
|
|
@@ -2429,6 +2430,7 @@ static NOINLINE int tmemc_save_subop(int
|
|
pgp_free_from_inv_list(client,pgp);
|
|
client->frozen = client->was_frozen;
|
|
rc = 0;
|
|
+ break;
|
|
}
|
|
return rc;
|
|
}
|