lkml.org 
[lkml]   [2010]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] fix race condition in drivers/base/dd.c
From
Date
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




\
 
 \ /
  Last update: 2010-03-06 18:17    [W:2.232 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site