diff options
author | Matthew Brost <matthew.brost@intel.com> | 2024-11-05 07:35:23 +0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-11-06 02:40:12 +0300 |
commit | af797b831d8975cb4610f396dcb7f03f4b9908e7 (patch) | |
tree | 89e4c8d846ce403b3b6afe806a695c2f06e8b5c8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1491efb39acee3848b61fcb3e5cc4be8de304352 (diff) | |
download | linux-af797b831d8975cb4610f396dcb7f03f4b9908e7.tar.xz |
drm/xe: Fix possible exec queue leak in exec IOCTL
In a couple of places after an exec queue is looked up the exec IOCTL
returns on input errors without dropping the exec queue ref. Fix this
ensuring the exec queue ref is dropped on input error.
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Cc: <stable@vger.kernel.org>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241105043524.4062774-2-matthew.brost@intel.com
(cherry picked from commit 07064a200b40ac2195cb6b7b779897d9377e5e6f)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions