diff options
author | Kees Cook <[email protected]> | 2019-10-29 14:34:22 -0700 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2019-10-30 11:09:25 -0700 |
commit | 4544b9f25e70eae9f70a243de0cc802aa5c8cb69 (patch) | |
tree | 6d42b0f294019db3f3934284a1fe4f5ebd7cd585 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | a445e940ea686fc60475564009821010eb213be3 (diff) |
dma-mapping: Add vmap checks to dma_map_single()
As we've seen from USB and other areas[1], we need to always do runtime
checks for DMA operating on memory regions that might be remapped. This
adds vmap checks (similar to those already in USB but missing in other
places) into dma_map_single() so all callers benefit from the checking.
[1] https://git.kernel.org/linus/3840c5b78803b2b6cc1ff820100a74a092c40cbb
Suggested-by: Laura Abbott <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
[hch: fixed the printk message]
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions