Re: [PATCHv2 2/4] tty: Hold tty_ldisc_lock() during tty_reopen()
From: Sergey Senozhatsky
Date: Tue Sep 04 2018 - 03:06:25 EST
On (09/04/18 08:30), Jiri Slaby wrote:
>
> >> Cc: stable@xxxxxxxxxxxxxxx # depends on commit b027e2298bd5 ("tty: fix
> >> data race between tty_init_dev and flush of buf")
> >
> > I believe there's a "Fixes" tag for that
> >
> > Fixes: b027e2298bd5 ("tty: fix data race between tty_init_dev and flush of buf")
> > Cc: stable@xxxxxxxxxxxxxxx
>
> Nope, it would be translated as:
> Backport-first: b027e2298bd5
> :)
:) Ah, OK.
So this "Backport-first:" is for pre-4.9 longterm kernels.
As far as I can see linux-4.9.y picked up b027e2298bd5:
commit 55eaecffe3d663d02084023b9fc06d5f39b97389
Author: Gaurav Kohli
Date: Tue Jan 23 13:16:34 2018 +0530
tty: fix data race between tty_init_dev and flush of buf
commit b027e2298bd588d6fa36ed2eda97447fb3eac078 upstream.
-ss