diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-05 00:23:26 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-06 14:01:28 +0100 |
commit | 11e732a5ed46903f997985bed4c3767ca28a7eb6 (patch) | |
tree | b2169eca05c7c611f7544c1d5008dcb8fa81609c /slirp | |
parent | b2a44fcad74f1cc7a6786d38eba7db12ab2352ba (diff) |
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>
Diffstat (limited to 'slirp')
0 files changed, 0 insertions, 0 deletions