diff options
author | Thomas Pfaff <[email protected]> | 2009-01-02 13:47:13 +0000 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-01-02 10:19:40 -0800 |
commit | ff8cb0fd6f195389aefe55d5dac9927d09a9de54 (patch) | |
tree | 258cbb425a03d5f444014d32c59a22f13d4ed492 /net/lapb/lapb_iface.c | |
parent | eff6937a46e096eb35c16a391617b7a5e098a30c (diff) |
tty: N_TTY SIGIO only works for read
The N_TTY ldisc layer does not send SIGIO POLL_OUTs correctly when output is
possible due to flawed handling of the TTY_DO_WRITE_WAKEUP bit. It will
either send no SIGIOs at all or on every tty wakeup.
The fix is to set the bit when the tty driver write would block and test
and clear it on write wakeup.
[Merged with existing N_TTY patches and a small buglet fixed -- Alan]
Signed-off-by: Thomas Pfaff <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions