summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-09-07 11:51:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-09-10 17:09:42 +0200
commitbe4219dd98608736e13e0b790ef742b76a13254d (patch)
tree3271c7295994bc8109cf2288ed4fa3378c4a0ac4 /tools/lib/python/kdoc/python_version.py
parent88c7e458af53ff781a3f1051708395892b325576 (diff)
downloadlinux-next-be4219dd98608736e13e0b790ef742b76a13254d.tar.gz
linux-next-be4219dd98608736e13e0b790ef742b76a13254d.zip
USB: cdc-acm: fix racy TIOCMIWAIT implementation
Check the wakeup condition after adding the task to the waitqueue and updating the task state to avoid missing a racing modem status update or disconnect. Store the old icount on entry and do not update it in the completion handler to avoid missing events or reporting spurious ones (due to modem status changes before TIOCMIWAIT was called). Fixes: 5a6a62bdb925 ("cdc-acm: add TIOCMIWAIT") Cc: stable <stable@kernel.org> Cc: Oliver Neukum <oneukum@suse.de> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260907095130.130636-1-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions