aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-11-09 15:41:01 +0100
committerChristoph Hellwig <[email protected]>2021-12-07 12:47:38 +0100
commita90cf30437489343b8386ae87b4827b6d6c3ed50 (patch)
tree65dd1ad2ed4fac84b87a36df276ebf385ce48232 /include/linux/overflow.h
parent5570449b6876f215d49ac4db9ccce6ff7aa1e20a (diff)
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 <[email protected]> Reviewed-by: Robin Murphy <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions