Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tty: n_gsm: replace kicktimer with delayed_work
A kick_timer timer_list is replaced with kick_timeout delayed_work to be able to synchronize with mutexes as a prerequisite for the introduction of tx_mutex. Found by Linux Verification Center (linuxtesting.org) with Syzkaller. Fixes: c568f70 ("tty: n_gsm: fix missing timer to handle stalled links") Cc: stable <[email protected]> Reviewed-by: Jiri Slaby <[email protected]> Suggested-by: Hillf Danton <[email protected]> Signed-off-by: Fedor Pchelkin <[email protected]> Signed-off-by: Alexey Khoroshilov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information