Skip to content
Commit 92cb3e59 authored by Christian König's avatar Christian König
Browse files

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: default avatarChristian König <christian.koenig@amd.com>
Acked-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 7bf60c52 ("dma-buf: add new dma_fence_chain container v7")
Link: https://patchwork.freedesktop.org/patch/321612/
parent 0dbd555a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment