[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdanesMMZJ046wws5GoOLK9hgh29rHXQ0-uPKC9rTxjzsw@mail.gmail.com>
Date: Tue, 4 Feb 2014 22:08:19 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Stanislaw Gruszka <sgruszka@...hat.com>
Cc: Stephen Warren <swarren@...dotorg.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Stephen Warren <swarren@...dia.com>,
Patrice Chotard <patrice.chotard@...com>
Subject: Re: [PATCH v2] pinctrl: protect pinctrl_list add
On Tue, Feb 4, 2014 at 9:07 AM, Stanislaw Gruszka <sgruszka@...hat.com> wrote:
> We have few fedora bug reports about list corruption on pinctrl,
> for example:
> https://bugzilla.redhat.com/show_bug.cgi?id=1051918
>
> Most likely corruption happen due lack of protection of pinctrl_list
> when adding new nodes to it. Patch corrects that.
>
> Fixes: 42fed7ba44e ("pinctrl: move subsystem mutex to pinctrl_dev struct")
> Cc: stable@...r.kernel.org
> Signed-off-by: Stanislaw Gruszka <sgruszka@...hat.com>
> ---
> I only compile tested patch, also did not get test results from bug
> reporters yet. But I'm pretty confident that patch fixes the problem
> and does not cause any other deadlock.
>
> v1 -> v2: point correct first bad commit.
Patch applied. Thanks for bringing this to our attention!
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists