commit | 92cb3e5980638a37c56091e605aa837d0af05a9d | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Thu Aug 01 15:11:14 2019 +0200 |
committer | Christian König <christian.koenig@amd.com> | Mon Aug 05 17:32:33 2019 +0200 |
tree | 497f1d420890fefadb79a621d135a6bd468b619a | |
parent | 0dbd555a011c2d096a7b7e40c83c5776a7df367c [diff] |
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/