From: Peter Hurley Date: Fri, 16 Jan 2015 20:05:35 +0000 (-0500) Subject: n_tty: Fix throttle for canon lines > 3967 chars X-Git-Tag: fixes-v4.0-rc1~98^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a342846f9b0448996f56ebece80454d41b431ce2;p=pandora-kernel.git n_tty: Fix throttle for canon lines > 3967 chars The tty driver will be mistakenly throttled if a line termination has not been received, and the line exceeds 3967 chars. Thus, it is possible for the driver to stop sending when it has not yet sent the newline. This does not apply to the pty driver. Don't throttle until at least one line termination has been received. Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed