From: Greg KH on
On Sat, Mar 06, 2010 at 05:50:14PM +0100, Stefani Seibold wrote:
> This patch fix a potential race condition in the driver_bound() function
> in the file driver/base/dd.c.
>
> The broadcast of the BUS_NOTIFY_BOUND_DRIVER notifier should be done
> after adding the new device to the driver list. Otherwise notifier
> listener will fail if they use functions like usb_find_interface().
>
> The patch is against kernel 2.6.33. Please merge it.

Looks good, are there bugs caused by this problem today that require
this patch to be backported to the -stable kernels?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Stefani Seibold on
Am Samstag, den 06.03.2010, 08:57 -0800 schrieb Greg KH:
> On Sat, Mar 06, 2010 at 05:50:14PM +0100, Stefani Seibold wrote:
> > This patch fix a potential race condition in the driver_bound() function
> > in the file driver/base/dd.c.
> >
> > The broadcast of the BUS_NOTIFY_BOUND_DRIVER notifier should be done
> > after adding the new device to the driver list. Otherwise notifier
> > listener will fail if they use functions like usb_find_interface().
> >
> > The patch is against kernel 2.6.33. Please merge it.
>
> Looks good, are there bugs caused by this problem today that require
> this patch to be backported to the -stable kernels?
>

No, there is no problem in the stable kernel. There was only a problem
with one of my out of tree driver.

Stefani


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/