Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP1
xen.13142
5d77b40f-fix-hvm_all_ioreq_servers_add_vcpu-cle...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 5d77b40f-fix-hvm_all_ioreq_servers_add_vcpu-cleanup.patch of Package xen.13142
# Commit 215f2576b0ac1bc18f3ff74e34f0d8379bda9040 # Date 2019-09-10 16:32:47 +0200 # Author Roger Pau Monné <roger.pau@citrix.com> # Committer Jan Beulich <jbeulich@suse.com> ioreq: fix hvm_all_ioreq_servers_add_vcpu fail path cleanup The loop in FOR_EACH_IOREQ_SERVER is backwards hence the cleanup on failure needs to be done forwards. Fixes: 97a5a3e30161 ('x86/hvm/ioreq: maintain an array of ioreq servers rather than a list') Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Reviewed-by: Paul Durrant <paul.durrant@citrix.com> --- a/xen/arch/x86/hvm/ioreq.c +++ b/xen/arch/x86/hvm/ioreq.c @@ -1202,7 +1202,7 @@ int hvm_all_ioreq_servers_add_vcpu(struc return 0; fail: - while ( id-- != 0 ) + while ( ++id != MAX_NR_IOREQ_SERVERS ) { s = GET_IOREQ_SERVER(d, id);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor