]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
xen/gntdev: prevent unsynchronized accesses to the map entry
authorroyger <royger@FreeBSD.org>
Mon, 27 Feb 2017 15:31:15 +0000 (15:31 +0000)
committerroyger <royger@FreeBSD.org>
Mon, 27 Feb 2017 15:31:15 +0000 (15:31 +0000)
commit3217345841b23204d30d46684ca7dfc23f94441e
treef1d58a70701990ad82c69ff612d6292e6b45fcf7
parent0f1f4af770c133c0cce45474a5578e2e3b8c767a
xen/gntdev: prevent unsynchronized accesses to the map entry

vm_map_lookup_done should only be called when the gntdev has finished poking at
the entry.

Reported by: alc
Reviewed by: alc
MFC after: 1 week
Sponsored by: Citrix Systems R&D
sys/dev/xen/gntdev/gntdev.c