diff options
author | 2011-02-09 15:12:00 -0500 | |
---|---|---|
committer | 2011-02-14 14:16:21 -0500 | |
commit | b57c18694ea1641b691fa05ed8af0ce339fa430b (patch) | |
tree | 3fb3b050ef993092db69463fa56507f03eb31cf8 /drivers/xen/gntalloc.c | |
parent | xen-gntdev: Use map->vma for checking map validity (diff) | |
download | wireguard-linux-b57c18694ea1641b691fa05ed8af0ce339fa430b.tar.xz wireguard-linux-b57c18694ea1641b691fa05ed8af0ce339fa430b.zip |
xen-gntdev: Avoid unmapping ranges twice
In paravirtualized domains, mn_invl_page or mn_invl_range_start can
unmap a segment of a mapped region without unmapping all pages. When
the region is later released, the pages will be unmapped twice, leading
to an incorrect -EINVAL return.
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/gntalloc.c')
0 files changed, 0 insertions, 0 deletions