Skip to content
Commit 7e024575 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Daniel Borkmann
Browse files

xsk: Use dma_need_sync instead of reimplenting it



Use the dma_need_sync helper instead of (not always entirely correctly)
poking into the dma-mapping internals.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200629130359.2690853-5-hch@lst.de
parent 53937ff7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment