commit | 42458f41d08f0873299e830464c1232a6839297d | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Thu Nov 07 13:59:46 2013 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 25 08:35:00 2013 -0800 |
tree | 84d05de2d6f10dca657f2b69fdba0863d7106f43 | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae [diff] |
n_tty: Ensure reader restarts worker for next reader A departing reader must restart a flush_to_ldisc() worker _before_ the next reader enters the read loop; this is to avoid the new reader concluding no more i/o is available and prematurely exiting, when the old reader simply hasn't re-started the worker yet. Cc: stable <stable@vger.kernel.org> # 3.12 Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>