From: Greg KH <greg@kroah.com>
To: Clay McClure <clay@daemons.net>
Cc: stable@vger.kernel.org, Richard Weinberger <richard@nod.at>
Subject: Re: [PATCH 4.9.y] ubi: Fix race condition between ubi volume creation and udev
Date: Thu, 15 Feb 2018 15:19:31 +0100 [thread overview]
Message-ID: <20180215141931.GA4200@kroah.com> (raw)
In-Reply-To: <1518639358-3301-1-git-send-email-clay@daemons.net>
On Wed, Feb 14, 2018 at 12:15:58PM -0800, Clay McClure wrote:
> This is a conceptual cherry-pick of commit
> a51a0c8d213594bc094cb8e54aad0cb6d7f7b9a6 upstream.
>
> Similar to commit 714fb87e8bc0 ("ubi: Fix race condition between ubi
> device creation and udev"), we should make the volume active before
> registering it.
>
> Signed-off-by: Clay McClure <clay@daemons.net>
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Richard Weinberger <richard@nod.at>
> (clay: massaged to apply to 4.9.y)
> Signed-off-by: Clay McClure <clay@daemons.net>
> ---
> Hello,
>
> The race fixed by this upstream patch also occurs in 4.9, 4.4, and
> at least as far back as 3.14 (where we originally found it). This
> massaged patch applies cleanly to 4.9.y and 4.4.y and possibly to
> earlier kernels.
I'd like to get an ack from Richard here to verify this is ok before
applying it.
thanks,
greg k-h
prev parent reply other threads:[~2018-02-15 14:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-14 20:15 [PATCH 4.9.y] ubi: Fix race condition between ubi volume creation and udev Clay McClure
2018-02-15 14:19 ` Greg KH [this message]
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=20180215141931.GA4200@kroah.com \
--to=greg@kroah.com \
--cc=clay@daemons.net \
--cc=richard@nod.at \
--cc=stable@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.