diff options
author | Mike Galbraith <efault@gmx.de> | 2007-02-21 21:45:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-23 23:52:09 +0100 |
commit | 63ce18cfe685115ff8d341bae4c9204a79043cf0 (patch) | |
tree | 7f37a6f9f0453b2122e490d6ef68f213d8a878a3 /REPORTING-BUGS | |
parent | Driver core: remove class_device_rename (diff) | |
download | linux-63ce18cfe685115ff8d341bae4c9204a79043cf0.tar.xz linux-63ce18cfe685115ff8d341bae4c9204a79043cf0.zip |
driver core: refcounting fix
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@gmx.de>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions