Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dma-direct: re-encrypt memory if dma_direct_alloc_pages() fails
If arch_dma_set_uncached() fails after memory has been decrypted, it needs to be re-encrypted before freeing. Fixes: fa7e224 ("dma-direct: make uncached_kernel_address more general") Signed-off-by: David Rientjes <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
- Loading branch information