[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5627A830.6050609@hurleysoftware.com>
Date: Wed, 21 Oct 2015 10:58:56 -0400
From: Peter Hurley <peter@...leysoftware.com>
To: Oliver Neukum <oneukum@...e.com>
Cc: Johan Hovold <johan@...nel.org>, Sven Brauch <mail@...nbrauch.de>,
One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>,
Toby Gray <toby.gray@...lvnc.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-serial@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: [PATCH] Fix data loss in cdc-acm
On 10/21/2015 08:09 AM, Peter Hurley wrote:
> Be aware that while the N_TTY line discipline ensures that put_char()
> and write() usage will not be interleaved without flush_chars(), other
> line disciplines might not, so at least be sure that driver won't
> crash if that happens.
Sorry, I take that back: certain echoes are output via write() in
OPOST mode, specifically for O_ONLCR and XTABS.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists