commit | 00aaae033e323af33740e7012a8ba4b0fa6dce20 | [log] [tgz] |
---|---|---|
author | Stanislav Kozina <skozina@redhat.com> | Thu Aug 09 14:48:58 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Aug 10 13:13:11 2012 -0700 |
tree | 152d5cfb0186d2c4c5fadae2e79cf49d154be911 | |
parent | 857196e2758f01ec40f93429013963ca5f22cbae [diff] |
tty: Fix possible race in n_tty_read() Fix possible panic caused by unlocked access to tty->read_cnt in while-loop condition in n_tty_read(). Signed-off-by: Stanislav Kozina <skozina@redhat.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>