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


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