-
- Downloads
Prevent an O_NDELAY writer from blocking when a tty write is blocked by the tty atomic writer mutex
Without this a tty write could block if a previous blocking tty write was in progress on the same tty and blocked by a line discipline or hardware event. Originally found and reported by Dave Johnson. Signed-off-by:Alan Cox <alan@redhat.com> Acked-by:
Dave Johnson <djohnson+linux-kernel@sw.starentnetworks.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- drivers/char/n_hdlc.c 5 additions, 4 deletionsdrivers/char/n_hdlc.c
- drivers/char/n_tty.c 2 additions, 1 deletiondrivers/char/n_tty.c
- drivers/char/tty_io.c 28 additions, 12 deletionsdrivers/char/tty_io.c
- drivers/char/tty_ioctl.c 2 additions, 2 deletionsdrivers/char/tty_ioctl.c
- include/linux/tty.h 6 additions, 0 deletionsinclude/linux/tty.h
Loading
Please register or sign in to comment