diff options
author | Stanislav Kozina <skozina@redhat.com> | 2012-08-09 14:48:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-10 13:13:11 -0700 |
commit | 00aaae033e323af33740e7012a8ba4b0fa6dce20 (patch) | |
tree | 152d5cfb0186d2c4c5fadae2e79cf49d154be911 /drivers/memstick | |
parent | 857196e2758f01ec40f93429013963ca5f22cbae (diff) | |
download | lwn-00aaae033e323af33740e7012a8ba4b0fa6dce20.tar.gz lwn-00aaae033e323af33740e7012a8ba4b0fa6dce20.zip |
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>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions