[nacked] tty-make-ppp_synctty-and-hdlc-work-with-pseudo-terminals.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     tty: make ppp_synctty and hdlc work with pseudo terminals
has been removed from the -mm tree.  Its filename was
     tty-make-ppp_synctty-and-hdlc-work-with-pseudo-terminals.patch

This patch was dropped because it was nacked

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


--
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


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux