From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f195.google.com ([209.85.210.195]:36045 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725977AbeIDLaH (ORCPT ); Tue, 4 Sep 2018 07:30:07 -0400 Date: Tue, 4 Sep 2018 16:06:16 +0900 From: Sergey Senozhatsky To: Jiri Slaby Cc: Sergey Senozhatsky , Dmitry Safonov , linux-kernel@vger.kernel.org, Dmitry Safonov <0x7f454c46@gmail.com>, Daniel Axtens , Dmitry Vyukov , Michael Neuling , Mikulas Patocka , Nathan March , Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= , Peter Hurley , Tan Xiaojun , Tetsuo Handa , syzbot+3aa9784721dfb90e984d@syzkaller.appspotmail.com, Greg Kroah-Hartman , stable@vger.kernel.org Subject: Re: [PATCHv2 2/4] tty: Hold tty_ldisc_lock() during tty_reopen() Message-ID: <20180904070616.GA11702@jagdpanzerIV> References: <20180903165257.29227-1-dima@arista.com> <20180903165257.29227-3-dima@arista.com> <20180904015139.GA4251@jagdpanzerIV> <7e62b122-3b9e-dc46-d99f-9055bb67d670@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7e62b122-3b9e-dc46-d99f-9055bb67d670@suse.com> Sender: stable-owner@vger.kernel.org List-ID: On (09/04/18 08:30), Jiri Slaby wrote: > > >> Cc: stable@vger.kernel.org # 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@vger.kernel.org > > 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