diff options
| author | Shuicheng Lin <shuicheng.lin@intel.com> | 2026-02-19 23:35:19 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-19 16:15:14 +0100 |
| commit | f8f90b33934b307f6e4599b9fae38aa1ee5441a7 (patch) | |
| tree | 21857605cd2c3f2da28a85536427bd2c548b708f /include/linux/timerqueue.h | |
| parent | 772ecd4bc7ef65ab7c7c22352d0f7ff69efb83e4 (diff) | |
drm/xe/sync: Fix user fence leak on alloc failure
commit 0879c3f04f67e2a1677c25dcc24669ce21eb6a6c upstream.
When dma_fence_chain_alloc() fails, properly release the user fence
reference to prevent a memory leak.
Fixes: 0995c2fc39b0 ("drm/xe: Enforce correct user fence signaling order using")
Cc: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260219233516.2938172-6-shuicheng.lin@intel.com
(cherry picked from commit a5d5634cde48a9fcd68c8504aa07f89f175074a0)
Cc: stable@vger.kernel.org
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
