diff options
author | Fedor Pchelkin <pchelkin@ispras.ru> | 2022-08-29 16:16:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-30 14:37:40 +0200 |
commit | c9ab053e56ce13a949977398c8edc12e6c02fc95 (patch) | |
tree | 6b0a4a3672cb5e27b59cd7d1db9586ca17594d7b /scripts/gcc-plugins/stackleak_plugin.c | |
parent | 4bb1a53be85fcb1e24c14860e326a00cdd362c28 (diff) |
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: c568f7086c6e ("tty: n_gsm: fix missing timer to handle stalled links")
Cc: stable <stable@kernel.org>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Suggested-by: Hillf Danton <hdanton@sina.com>
Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Link: https://lore.kernel.org/r/20220829131640.69254-2-pchelkin@ispras.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gcc-plugins/stackleak_plugin.c')
0 files changed, 0 insertions, 0 deletions