Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
address_space_access_valid: address_space_to_flatview needs RCU lock
address_space_access_valid is calling address_space_to_flatview but it can be called outside the RCU lock. To fix it, push the rcu_read_lock/unlock pair up from flatview_access_valid to address_space_access_valid. Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> (cherry picked from commit 11e732a) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
- Loading branch information