diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2011-11-28 17:49:10 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-12-16 17:26:02 +0100 |
commit | 0105d2b4fbc24c2fb6ca9bae650784dd7ddf0b12 (patch) | |
tree | 9442598b5e9d959ccfd6661e3c727840692028dc /kernel | |
parent | xen/events: prevent calling evtchn_get on invalid channels (diff) | |
download | linux-0105d2b4fbc24c2fb6ca9bae650784dd7ddf0b12.tar.xz linux-0105d2b4fbc24c2fb6ca9bae650784dd7ddf0b12.zip |
xen/gntalloc: release grant references on page free
gnttab_end_foreign_access_ref does not return the grant reference it is
passed to the free list; gnttab_free_grant_reference needs to be
explicitly called. While gnttab_end_foreign_access provides a wrapper
for this, it is unsuitable because it does not return errors.
Reported-by: Anil Madhavapeddy <anil@recoil.org>
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions