[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150330142414.GB10446@kroah.com>
Date: Mon, 30 Mar 2015 16:24:14 +0200
From: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
To: EunTaik Lee <eun.taik.lee@...sung.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: Re: Re: [PATCH] fix race condition between device_del and
device_add
On Mon, Mar 30, 2015 at 02:02:27PM +0000, EunTaik Lee wrote:
>
> The problem was on 3.10.49.
>
> I carefully looked up the patches again and found out that there was
> a patch on 3.18 that will solve the problem
>
> commit e4a60d139060975eb956717e4f63ae348d4d8cc5
> sysfs: driver core: Fix glue dir race condition by gdp_mutex
Yes, you need a "real" lock to fix this type of race condition, I
thought we had fixed this a while ago, thanks for verifying it.
greg k-h
--
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