mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
This fixes a bug where if a client shares more than 1 page, the munmap call fails to clean up everything. A process which does a lot of sharing and unsharing can run out of resources. This patch also fixes in-tree callers of - xc_gntshr_munmap - xc_gnttab_munmap to supply page counts rather than lengths. Signed-off-by: David Scott <dave.scott@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com>