diff options
| author | Haoxiang Li <haoxiang_li2024@163.com> | 2025-12-04 21:21:29 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-12-17 14:51:54 +0100 |
| commit | 36cc7e09df9e43db21b46519b740145410dd9f4a (patch) | |
| tree | 9927737bb5e7c24a08904d583b5468aec8ffc41d /scripts/basic/git@git.tavy.me:linux.git | |
| parent | d14cd998e67ba8f1cca52a260a1ce1a60954fd8b (diff) | |
usb: renesas_usbhs: Fix a resource leak in usbhs_pipe_malloc()
usbhsp_get_pipe() set pipe's flags to IS_USED. In error paths,
usbhsp_put_pipe() is required to clear pipe's flags to prevent
pipe exhaustion.
Fixes: f1407d5c6624 ("usb: renesas_usbhs: Add Renesas USBHS common code")
Cc: stable <stable@kernel.org>
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Link: https://patch.msgid.link/20251204132129.109234-1-haoxiang_li2024@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/basic/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
