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: NPeter Hurley <peter@hurleysoftware.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录