The patch titled tty: make ppp_synctty and hdlc work with pseudo terminals has been added to the -mm tree. Its filename is tty-make-ppp_synctty-and-hdlc-work-with-pseudo-terminals.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: tty: make ppp_synctty and hdlc work with pseudo terminals From: ilya <utdilya@xxxxxxx> Taken from https://bugzilla.kernel.org/show_bug.cgi?id=40482. If frames are sent very fast from one side(master/slave) to other one, the frames merge in one (merge point "flip buffer") and the other side can read only one big frame. But sync line disciplines need one frame in one read. To push one frame to ldisc I propose this small patch. It fixes a regression introduced by commit e043e42bdb6 ("pty: avoid forcing 'low_latency' tty flag"). Cc: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> Cc: Aneesh Kumar K.V <aneesh.kumar@xxxxxxxxxxxxxxxxxx> Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/tty/pty.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/tty/pty.c~tty-make-ppp_synctty-and-hdlc-work-with-pseudo-terminals drivers/tty/pty.c --- a/drivers/tty/pty.c~tty-make-ppp_synctty-and-hdlc-work-with-pseudo-terminals +++ a/drivers/tty/pty.c @@ -221,6 +221,7 @@ static int pty_open(struct tty_struct *t clear_bit(TTY_OTHER_CLOSED, &tty->link->flags); set_bit(TTY_THROTTLED, &tty->flags); retval = 0; + tty->low_latency = 1; out: return retval; } _ Patches currently in -mm which might be from utdilya@xxxxxxx are tty-make-ppp_synctty-and-hdlc-work-with-pseudo-terminals.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html