Re: [2.5.69] rtnl-deadlock with usermodehelper and keventd

Jean Tourrilhes
2003-05-23T16:33:07Z

On Fri, May 23, 2003 at 02:43:08AM -0700, David S. Miller wrote:
> From: Martin Diehl <lists@mdiehl.de>
> Date: Fri, 23 May 2003 11:38:38 +0200 (CEST)
>
> On Thu, 22 May 2003, David S. Miller wrote:
>
> > Asking just because there was another user hitting this deadlock:
> >
> > It's fixed in current 2.5.x sources, wake up :-)
>
> Oops, sorry for the noise, I hadn't noticed this yet.
>
> But nope, unfortunately it's still hanging! I've just tested with
> 2.5.69-bk15. Running into the same deadlock due to sleeping with rtnl
> hold. This time however it seems it's triggered from sysfs side!
>
> Stephen, you need to do the device class stuff outside of the RTNL
> lock please.
>
> At least I didn't add this bug :-)
>
> This should fix it.

Thanks Dave, we are very much obliged !

Jean