]> xenbits.xensource.com Git - qemu-xen.git/commit
exec: Add missing rcu_read_unlock
authorRoman Kapl <rka@sysgo.com>
Mon, 9 Jan 2017 11:09:21 +0000 (12:09 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Jan 2017 16:52:35 +0000 (17:52 +0100)
commit5ad4a2b75f85dd854a781a6e03b90320cb3441d3
treea0737f33526c34d8a355282a4deed45fdfa67ac3
parent0f254b1ae04b36e2ab2d91528297ed60d40c8c08
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>
exec.c