aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-01-14 21:14:08 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2019-01-16 09:59:17 -0500
commit227a76b64718888c1687cc237463aa000ae6fb2b (patch)
treebaf6e0b03405ea007bd7865f1ca75d80fab44001 /net/unix/af_unix.c
parentLinux 5.0-rc2 (diff)
downloadwireguard-linux-227a76b64718888c1687cc237463aa000ae6fb2b.tar.xz
wireguard-linux-227a76b64718888c1687cc237463aa000ae6fb2b.zip
swiotlb: clear io_tlb_start and io_tlb_end in swiotlb_exit
Otherwise is_swiotlb_buffer will return false positives when we first initialize a swiotlb buffer, but then free it because we have an IOMMU available. Fixes: 55897af63091 ("dma-direct: merge swiotlb_dma_ops into the dma_direct code") Reported-by: Sibren Vasse <sibren@sibrenvasse.nl> Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Sibren Vasse <sibren@sibrenvasse.nl> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions