]> git.baikalelectronics.ru Git - kernel.git/commit
n_tty: Don't wait for buffer work in read() loop
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:14:29 +0000 (09:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:43:02 +0000 (16:43 -0700)
commitbb2e0e7b13514c8036708b9eb17d550dfcf14515
tree0cb875c59a1fe4f13107660bc576c6e801335a5e
parent707dbef14f85d1786fa5b2e5cdc2388f345ff2b6
n_tty: Don't wait for buffer work in read() loop

User-space read() can run concurrently with receiving from device;
waiting for receive_buf() to complete is not required.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c