diff options
| author | Johan Hovold <johan@kernel.org> | 2026-09-10 15:08:16 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-09-23 12:00:55 +0200 |
| commit | eb35b73e133686e5b999eb7130c4e3d22fe03089 (patch) | |
| tree | d70db60a93d87ffaa12b12bfca5329d4823a4698 /tools/lib/python/kdoc | |
| parent | 40adffec8c0090533dfaa863ced7901b60bbf1dc (diff) | |
| download | linux-next-eb35b73e133686e5b999eb7130c4e3d22fe03089.tar.gz linux-next-eb35b73e133686e5b999eb7130c4e3d22fe03089.zip | |
serial: abort TIOCMIWAIT on hangup
Add the missing hangup check to the TIOCMIWAIT wait loop to avoid going
back to sleep (indefinitely) after being woken on hangup.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Reported-by: sashiko-bot@kernel.org
Link: https://lore.kernel.org/r/20260904115542.E20D11F00A3D@smtp.kernel.org
Cc: stable@kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260910130816.642699-5-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
