Skip to content
Snippets Groups Projects
Commit 9c1729db authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds
Browse files

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: default avatarAlan Cox <alan@redhat.com>
Acked-by: default avatarDave Johnson <djohnson+linux-kernel@sw.starentnetworks.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c9c64155
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment