summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2015-05-15 16:09:54 +0900
committerDave Airlie <airlied@redhat.com>2015-06-02 17:24:49 +1000
commit1c34d824bd750f4a4287639fee8335ec51530024 (patch)
tree285da60c759743991f5727d8e1a4fd4754482111 /net/unix/af_unix.c
parent95872b49ce14169a1ce0dfaac62e284cbdc6eea8 (diff)
drm/ttm: dma: Don't crash on memory in the vmalloc range
dma_alloc_coherent() can return memory in the vmalloc range. virt_to_page() cannot handle such addresses and crashes. This patch detects such cases and obtains the struct page * using vmalloc_to_page() instead. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions