]> git.ipfire.org Git - thirdparty/qemu.git/commit
exec: Add missing rcu_read_unlock
authorRoman Kapl <rka@sysgo.com>
Mon, 9 Jan 2017 11:09:21 +0000 (12:09 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 16 Mar 2017 17:10:39 +0000 (12:10 -0500)
commit662a97d74f9b34cafe9aeb6d96620a97d768a1fa
tree706d37092704a4e02cb04f833601a74e04641da8
parentd6f119475d3c9c913f9140771895036be66d5c33
exec: Add missing rcu_read_unlock

rcu_read_unlock was not called if the address_space_access_valid result is
negative.

This caused (at least) a problem when qemu on PPC/E500+TAP failed to terminate
properly and instead got stuck in a deadlock.

Signed-off-by: Roman Kapl <rka@sysgo.com>
Message-Id: <20170109110921.4931-1-rka@sysgo.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 5ad4a2b75f85dd854a781a6e03b90320cb3441d3)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
exec.c