diff options
author | 2011-02-09 15:11:59 -0500 | |
---|---|---|
committer | 2011-02-14 14:16:20 -0500 | |
commit | 84e4075d60fc8f1c0b937765620bc784dd0c3d39 (patch) | |
tree | 1d337c56f68d0e1a7ca9db3749dcaead46b35ba3 /drivers/xen/gntalloc.c | |
parent | xen-gntdev: Fix unmap notify on PV domains (diff) | |
download | wireguard-linux-84e4075d60fc8f1c0b937765620bc784dd0c3d39.tar.xz wireguard-linux-84e4075d60fc8f1c0b937765620bc784dd0c3d39.zip |
xen-gntdev: Use map->vma for checking map validity
The is_mapped flag used to be set at the completion of the map operation,
but was not checked in all error paths. Use map->vma instead, which will
now be cleared if the initial grant mapping fails.
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