summaryrefslogtreecommitdiffstats
path: root/drivers/tty/n_tracerouter.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-06-13 21:56:37 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-17 21:37:29 +0200
commit7c61c3d8f44d5d822f758754287af644307b4af9 (patch)
treebc874566194bc82c269c565641f0829983192c85 /drivers/tty/n_tracerouter.c
parenttty/vt: Return EBUSY if deallocating VT1 and it is busy (diff)
downloadlinux-7c61c3d8f44d5d822f758754287af644307b4af9.tar.xz
linux-7c61c3d8f44d5d822f758754287af644307b4af9.zip
tty: Fix transient pty write() EIO
Commit 699390354da6c258b65bf8fa79cfd5feaede50b6 ('pty: Ignore slave pty close() if never successfully opened') introduced a bug with ptys whereby a write() in parallel with an open() on an existing pty could mistakenly indicate an I/O error. Only indicate an I/O error if the condition on open() actually exists. Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Tested-by: Mikael Pettersson <mikpe@it.uu.se> Cc: stable <stable@vger.kernel.org> # 3.9 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/n_tracerouter.c')
0 files changed, 0 insertions, 0 deletions