mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Re: Re: [PATCH] fix race condition between device_del and device_add
@ 2015-03-30 14:02 EunTaik Lee
  2015-03-30 14:24 ` gregkh
  0 siblings, 1 reply; 2+ messages in thread
From: EunTaik Lee @ 2015-03-30 14:02 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 460 bytes --]


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

Sorry for bothering you.

Thanks,
Eun Taik Leeÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Re: Re: [PATCH] fix race condition between device_del and device_add
  2015-03-30 14:02 Re: Re: [PATCH] fix race condition between device_del and device_add EunTaik Lee
@ 2015-03-30 14:24 ` gregkh
  0 siblings, 0 replies; 2+ messages in thread
From: gregkh @ 2015-03-30 14:24 UTC (permalink / raw)
  To: EunTaik Lee; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-30 14:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-30 14:02 Re: Re: [PATCH] fix race condition between device_del and device_add EunTaik Lee
2015-03-30 14:24 ` gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome