Re: [PATCH 0/2] drivers:tty:pty: Fix a race causing data loss on close

2021-01-07 Thread Greg Kroah-Hartman
On Mon, Nov 23, 2020 at 06:49:00PM -0600, miny...@acm.org wrote: > I finally got some time to spend with this issue, and I think I have a > good fix. Not really a v2, this is a completely different fix. > Basically, calling tty_vhangup() on the slave when closing a pty master > is just a bad idea.

[PATCH 0/2] drivers:tty:pty: Fix a race causing data loss on close

2020-11-23 Thread minyard
I finally got some time to spend with this issue, and I think I have a good fix. Not really a v2, this is a completely different fix. Basically, calling tty_vhangup() on the slave when closing a pty master is just a bad idea. >From what I can tell, the tty_vhangup() is there in case there was a c