diff options
author | Christian König <christian.koenig@amd.com> | 2019-08-01 15:11:14 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2019-08-05 17:32:33 +0200 |
commit | 92cb3e5980638a37c56091e605aa837d0af05a9d (patch) | |
tree | 497f1d420890fefadb79a621d135a6bd468b619a /drivers/gpu/drm/pl111 | |
parent | dma-buf: add more reservation object locking wrappers (diff) | |
download | linux-92cb3e5980638a37c56091e605aa837d0af05a9d.tar.xz linux-92cb3e5980638a37c56091e605aa837d0af05a9d.zip |
dma-buf: fix stack corruption in dma_fence_chain_release
We can't free up the chain using recursion or we run into a stack overflow.
Manually free up the dangling chain nodes to avoid recursion.
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 7bf60c52e093 ("dma-buf: add new dma_fence_chain container v7")
Link: https://patchwork.freedesktop.org/patch/321612/
Diffstat (limited to 'drivers/gpu/drm/pl111')
0 files changed, 0 insertions, 0 deletions