diff options
author | 2021-11-09 15:41:01 +0100 | |
---|---|---|
committer | 2021-12-07 12:47:38 +0100 | |
commit | a90cf30437489343b8386ae87b4827b6d6c3ed50 (patch) | |
tree | 65dd1ad2ed4fac84b87a36df276ebf385ce48232 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dma-direct: don't call dma_set_decrypted for remapped allocations (diff) | |
download | wireguard-linux-a90cf30437489343b8386ae87b4827b6d6c3ed50.tar.xz wireguard-linux-a90cf30437489343b8386ae87b4827b6d6c3ed50.zip |
dma-direct: always leak memory that can't be re-encrypted
We must never let unencrypted memory go back into the general page pool.
So if we fail to set it back to encrypted when freeing DMA memory, leak
the memory instead and warn the user.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions