Re: [PATCH v2] USB: serial: fix race between probe and open

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 09, 2012 at 03:41:03PM -0700, Greg Kroah-Hartman wrote:
> On Tue, Mar 20, 2012 at 04:59:33PM +0100, Johan Hovold wrote:
> > Fix race between probe and open by making sure that the disconnected
> > flag is not cleared until all ports have been registered.
> 
> With Alan's other path applied, is this patch still needed?  It
> conflicts a bit with it, which is why I'm wondering...

Yes, it's still needed. The disconnected flag should be set prior to the
get_free_serial call and cleared immediately after the port registration
loop.

Thanks,
Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux