summaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorAndrei Kuchynski <akuchynski@chromium.org>2025-03-05 11:17:39 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-06 16:55:46 +0100
commitb13abcb7ddd8d38de769486db5bd917537b32ab1 (patch)
tree2190748d35f2d4c3d6231a1a3db92c5c2b87521e /net/lapb/lapb_timer.c
parentff712188daa3fe3ce7e11e530b4dca3826dae14a (diff)
downloadlinux-b13abcb7ddd8d38de769486db5bd917537b32ab1.tar.gz
linux-b13abcb7ddd8d38de769486db5bd917537b32ab1.tar.bz2
linux-b13abcb7ddd8d38de769486db5bd917537b32ab1.zip
usb: typec: ucsi: Fix NULL pointer access
Resources should be released only after all threads that utilize them have been destroyed. This commit ensures that resources are not released prematurely by waiting for the associated workqueue to complete before deallocating them. Cc: stable <stable@kernel.org> Fixes: b9aa02ca39a4 ("usb: typec: ucsi: Add polling mechanism for partner tasks like alt mode checking") Signed-off-by: Andrei Kuchynski <akuchynski@chromium.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20250305111739.1489003-2-akuchynski@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions