diff options
author | Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> | 2019-02-14 17:23:21 +0300 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2019-02-18 08:50:10 +0300 |
commit | 068e79f4a9d613f4327cb4062a1e49c0eaca7149 (patch) | |
tree | 8c58b3e65adf69dbf417218000fd3d71d46bf528 /tools | |
parent | fa13e665e02874c0a5f4d06d6967ae34a6cb3d6a (diff) | |
download | linux-068e79f4a9d613f4327cb4062a1e49c0eaca7149.tar.xz |
xen/gntdev: Check and release imported dma-bufs on close
Check if there are any imported dma-bufs left not released by
user-space when grant device's release callback is called and
free those if this is the case. This can happen if user-space
leaks the buffers because of a bug or application has been
terminated for any reason.
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Reviewed-by: Boris Ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions