diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2007-05-04 11:55:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-12 16:29:46 -0700 |
commit | e8054854221d9d51e381c64d365404f4c1c30f50 (patch) | |
tree | f7efd45bce5842dde7986aa700dab09548e8c7d4 /drivers/usb/Kconfig | |
parent | 06b84e8adcad8280d76a7c71e772c5cddba96d85 (diff) |
USB: make hub driver's release more robust
This revised patch (as893c) improves the method used by the hub driver
to release its private data structure. The current code is non-robust,
relying on a memory region not getting reused by another driver after
it has been freed. The patch adds a reference count to the structure,
resolving the question of when to release it.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/Kconfig')
0 files changed, 0 insertions, 0 deletions