diff options
| author | Triet Hoang <triet.hoang.dev@gmail.com> | 2026-08-18 11:15:05 +0700 |
|---|---|---|
| committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2026-11-17 18:59:32 +0100 |
| commit | 9bca2b5f1a4fa93ed628d47e66d1d8df86937131 (patch) | |
| tree | 8ac2c20a8440408104af040c7b9271495bac8a37 /rust/kernel | |
| parent | d341ef030f3ceb8bf25e462b23c0b4addc5d7380 (diff) | |
accel/rocket: Keep scheduler allocation in rocket_file_priv
Keep the scheduler allocation in rocket_file_priv
and free it unconditionally in rocket_job_close().
This is to prevent a memory leak.
Fixes: 0810d5ad88a1 ("accel/rocket: Add job submission IOCTL")
Suggested-by: Igor Paunovic <royalnet026@gmail.com>
Link: https://lore.kernel.org/all/20260817093009.22359-1-royalnet026@gmail.com/
Signed-off-by: Triet Hoang <triet.hoang.dev@gmail.com>
Tested-by: Igor Paunovic <royalnet026@gmail.com> # RK3588, functional, incl. concurrent clients
Reviewed-by: Tomeu Vizoso <tomeu@tomeuvizoso.net>
[tomeu: Added Fixes, fixed prefix, rebased and extended commit message]
Signed-off-by: Tomeu Vizoso <tomeu@tomeuvizoso.net>
Link: https://patch.msgid.link/20260818041505.1579320-2-triet.hoang.dev@gmail.com
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions
