From: Stanislav Kozina Date: Thu, 9 Aug 2012 13:48:58 +0000 (+0100) Subject: tty: Fix possible race in n_tty_read() X-Git-Tag: omap-cleanup-sparseirq-for-v3.7~141 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00aaae033e323af33740e7012a8ba4b0fa6dce20;p=pandora-kernel.git 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 Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed