Re: [PATCH 2.6.10-rc1 3/5] driver-model: sysfs_release() dangling pointer reference fix

From: Greg KH
Date: Thu Nov 04 2004 - 14:07:36 EST


On Thu, Nov 04, 2004 at 04:03:37PM +0900, Tejun Heo wrote:
> df_03_sysfs_release_fix.patch
>
> Some attributes are allocated dynamically (e.g. module and device
> parameters) and are usually deallocated when the assoicated kobject is
> released. So, it's not safe to access attr after putting the kobject.
>
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxxx>

Applied, thanks.

greg k-h
-
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/