Re: [patch 05/22] : Fix hotplug race during device registration

From: Chris Rankin
Date: Fri Apr 21 2006 - 10:54:53 EST


--- "Alexander E. Patrakov" <patrakov@xxxxxxxxxx> wrote:
> This could be fixed up by saving the old value and restoring it in the "if
> (err)" statement, but I guess this has to be fixed in the mainline before
> allowing the modified "if (err)" into -stable.

I'm not going to claim to know how this state machine works, but would restoring the state to the
original value prompt the kernel to try and reregister the device in an endless loop? I was
wondering if maybe it should be set to some "Failed" state instead.

Cheers,
Chris



___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/