The patch titled driver core: refcounting fix has been removed from the -mm tree. Its filename was driver-core-refcounting-fix.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: driver core: refcounting fix From: Mike Galbraith <efault@xxxxxx> Fix a reference counting bug exposed by commit 725522b5453dd680412f2b6463a988e4fd148757. If driver.mod_name exists, we take a reference in module_add_driver(), and never release it. Undo that reference in module_remove_driver(). Signed-off-by: Mike Galbraith <efault@xxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/module.c | 6 ++++++ 1 files changed, 6 insertions(+) diff -puN kernel/module.c~driver-core-refcounting-fix kernel/module.c --- a/kernel/module.c~driver-core-refcounting-fix +++ a/kernel/module.c @@ -2425,6 +2425,12 @@ void module_remove_driver(struct device_ kfree(driver_name); } } + /* + * Undo the additional reference we added in module_add_driver() + * via kset_find_obj() + */ + if (drv->mod_name) + kobject_put(&drv->kobj); } EXPORT_SYMBOL(module_remove_driver); #endif _ Patches currently in -mm which might be from efault@xxxxxx are readahead-call-scheme.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html