Re: [PATCH] fix race condition in drivers/base/dd.c
From: Greg KH
Date: Sat Mar 06 2010 - 12:07:37 EST
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?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/