diff options
author | 2024-10-17 11:10:55 -0400 | |
---|---|---|
committer | 2024-10-17 17:41:29 +0200 | |
commit | 78b2770c935fc1434a95cc17613fe31165b02dfe (patch) | |
tree | ee5e742b3c69ee95d628da223cfa799c13bd196d /scripts/module-common.c | |
parent | Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma (diff) | |
download | wireguard-linux-78b2770c935fc1434a95cc17613fe31165b02dfe.tar.xz wireguard-linux-78b2770c935fc1434a95cc17613fe31165b02dfe.zip |
dma-mapping: fix tracing dma_alloc/free with vmalloc'd memory
Not all virtual addresses have physical addresses, such as if they were
vmalloc'd. Just trace the virtual address instead of trying to trace a
physical address. This aligns with the API, and is good enough to
associate dma_alloc with dma_free.
Fixes: 038eb433dc14 ("dma-mapping: add tracing for dma-mapping API calls")
Reported-by: syzbot+b4bfacdec173efaa8567@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/all/670ebde5.050a0220.d9b66.0154.GAE@google.com/
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'scripts/module-common.c')
0 files changed, 0 insertions, 0 deletions