aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/xen/gntalloc.c
diff options
context:
space:
mode:
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>2011-02-09 15:12:00 -0500
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-02-14 14:16:21 -0500
commitb57c18694ea1641b691fa05ed8af0ce339fa430b (patch)
tree3fb3b050ef993092db69463fa56507f03eb31cf8 /drivers/xen/gntalloc.c
parentxen-gntdev: Use map->vma for checking map validity (diff)
downloadwireguard-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