summaryrefslogtreecommitdiffstats
path: root/Documentation/laptops
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2016-01-10 06:45:12 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-01-28 20:58:02 +0100
commit7bccc36544a8b4a7d768f8ccdd6001a52872aca9 (patch)
tree31560d1f0eaba903fbe7dd2d3032988ddfadb189 /Documentation/laptops
parenttty: Fix ioctl(FIOASYNC) on hungup file (diff)
downloadlinux-7bccc36544a8b4a7d768f8ccdd6001a52872aca9.tar.xz
linux-7bccc36544a8b4a7d768f8ccdd6001a52872aca9.zip
n_tty: Fix stuck write wakeup
If signal-driven i/o is disabled while write wakeup is pending (ie., n_tty_write() has set TTY_DO_WRITE_WAKEUP but then signal-driven i/o is disabled), the TTY_DO_WRITE_WAKEUP bit will never be cleared and will cause tty_wakeup() to always call n_tty_write_wakeup. Unconditionally clear the write wakeup, and since kill_fasync() already checks if the fasync ptr is null, call kill_fasync() unconditionally as well. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/laptops')
0 files changed, 0 insertions, 0 deletions