diff options
| author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-09 14:29:48 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-09 14:29:48 -0800 |
| commit | 097738b49f47cc87600d6d2a4b5b1c65a98358fb (patch) | |
| tree | 2acc6ba7fce7aec80fbd1683da813d7ce5e89715 /tty | |
| parent | 3020c24ea2ca46a58a809cae079365e50a33af84 (diff) | |
| download | patches-097738b49f47cc87600d6d2a4b5b1c65a98358fb.tar.gz | |
delete a tty patch that caused lockups :(
Diffstat (limited to 'tty')
| -rw-r--r-- | tty/tty-n_tty-for-some-i-o-patterns-n_tty-will-lose-bytes.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tty/tty-n_tty-for-some-i-o-patterns-n_tty-will-lose-bytes.patch b/tty/tty-n_tty-for-some-i-o-patterns-n_tty-will-lose-bytes.patch deleted file mode 100644 index 113c909200b1b2..00000000000000 --- a/tty/tty-n_tty-for-some-i-o-patterns-n_tty-will-lose-bytes.patch +++ /dev/null @@ -1,31 +0,0 @@ -From alan@linux.intel.com Mon Dec 7 16:59:56 2009 -From: Alan Cox <alan@linux.intel.com> -Date: Mon, 30 Nov 2009 13:17:19 +0000 -Subject: tty: n_tty: For some I/O patterns n_tty will lose bytes -To: greg@kroah.com -Message-ID: <20091130131719.26701.63040.stgit@localhost.localdomain> - - -Fix the obvious disagreement between the receive path and the receive room -logic. - -Signed-off-by: Alan Cox <alan@linux.intel.com> -Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> ---- - - drivers/char/n_tty.c | 3 +++ - 1 file changed, 3 insertions(+) - - ---- a/drivers/char/n_tty.c -+++ b/drivers/char/n_tty.c -@@ -95,6 +95,9 @@ static void n_tty_set_room(struct tty_st - /* tty->read_cnt is not read locked ? */ - int left = N_TTY_BUF_SIZE - tty->read_cnt - 1; - -+ if (tty->real_raw) -+ left = min(left, N_TTY_BUF_SIZE - tty->read_head - 1); -+ - /* - * If we are doing input canonicalization, and there are no - * pending newlines, let characters through without limit, so |
