diff options
author | Oleksandr Andrushchenko <[email protected]> | 2020-08-13 09:21:09 +0300 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2020-08-13 12:50:22 +0200 |
commit | 5fa4e6f1c2d8c9a4e47e1931b42893172d388f2b (patch) | |
tree | 88ff3e420ef0fae924ee6bb9adf3f8d79051e704 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2e39e8c4f0c13bc4b49f942be8fd5b4b0470412 (diff) |
xen/gntdev: Fix dmabuf import with non-zero sgt offset
It is possible that the scatter-gather table during dmabuf import has
non-zero offset of the data, but user-space doesn't expect that.
Fix this by failing the import, so user-space doesn't access wrong data.
Fixes: bf8dc55b1358 ("xen/gntdev: Implement dma-buf import functionality")
Signed-off-by: Oleksandr Andrushchenko <[email protected]>
Acked-by: Juergen Gross <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions