Messages in this thread | | | Date | Fri, 21 Apr 2006 15:54:53 +0100 (BST) | From | Chris Rankin <> | Subject | Re: [patch 05/22] : Fix hotplug race during device registration |
| |
--- "Alexander E. Patrakov" <patrakov@ums.usu.ru> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |