diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-07-13 23:47:52 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-07-13 23:47:52 -0300 |
commit | 46247820461377a6ce7a5fe673547d8ed553f57a (patch) | |
tree | 16f9f7343d7496fac69d923909c3d1afc51b9708 /kernels/linux-libre-rt/Fix-n_tty_write-crash-when-echoing-in-raw-mode.patch | |
parent | 7c1c9ac0d1b791ae890a73a578663edf8879e869 (diff) |
linux-libre-rt-3.14.10_rt7-1: updating version
Diffstat (limited to 'kernels/linux-libre-rt/Fix-n_tty_write-crash-when-echoing-in-raw-mode.patch')
-rw-r--r-- | kernels/linux-libre-rt/Fix-n_tty_write-crash-when-echoing-in-raw-mode.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/kernels/linux-libre-rt/Fix-n_tty_write-crash-when-echoing-in-raw-mode.patch b/kernels/linux-libre-rt/Fix-n_tty_write-crash-when-echoing-in-raw-mode.patch deleted file mode 100644 index 0aa95628a..000000000 --- a/kernels/linux-libre-rt/Fix-n_tty_write-crash-when-echoing-in-raw-mode.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c -index 41fe8a0..fe9d129 100644 ---- a/drivers/tty/n_tty.c -+++ b/drivers/tty/n_tty.c -@@ -2353,8 +2353,12 @@ static ssize_t n_tty_write(struct tty_struct *tty, struct file *file, - if (tty->ops->flush_chars) - tty->ops->flush_chars(tty); - } else { -+ struct n_tty_data *ldata = tty->disc_data; -+ - while (nr > 0) { -+ mutex_lock(&ldata->output_lock); - c = tty->ops->write(tty, b, nr); -+ mutex_unlock(&ldata->output_lock); - if (c < 0) { - retval = c; - goto break_out;
\ No newline at end of file |