public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@kernel.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, minyard@acm.org
Cc: LKML <linux-kernel@vger.kernel.org>, Corey Minyard <cminyard@mvista.com>
Subject: Re: [PATCH v2] drivers:tty:pty: Fix a race causing data loss on close
Date: Tue, 6 Oct 2020 06:48:34 +0200	[thread overview]
Message-ID: <36dd1306-e14f-431b-a6b5-82da3868307b@kernel.org> (raw)
In-Reply-To: <20201005113149.GA444220@kroah.com>

On 05. 10. 20, 13:31, Greg Kroah-Hartman wrote:
> On Fri, Oct 02, 2020 at 08:03:04AM -0500, minyard@acm.org wrote:
>> From: Corey Minyard <cminyard@mvista.com>
>>
>> If you write to a pty master an immediately close the pty master, the
>> receiver might get a chunk of data dropped, but then receive some later
>> data.  That's obviously something rather unexpected for a user.  It
>> certainly confused my test program.
...
> Jiri, any thoughts about this?  At first glance, it looks sane to me,
> but a second review would be great.

Hi,

I haven't had a chance to look into it yet (labsconf this week). Moving
it upwards on my TODO.

thanks,
-- 
js

  reply	other threads:[~2020-10-06  4:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-02 13:03 [PATCH v2] drivers:tty:pty: Fix a race causing data loss on close minyard
2020-10-05 11:31 ` Greg Kroah-Hartman
2020-10-06  4:48   ` Jiri Slaby [this message]
2020-10-12  7:13 ` Jiri Slaby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36dd1306-e14f-431b-a6b5-82da3868307b@kernel.org \
    --to=jirislaby@kernel.org \
    --cc=cminyard@mvista.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=minyard@acm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox