From: Alan Stern Date: Fri, 4 May 2007 15:55:11 +0000 (-0400) Subject: USB: make hub driver's release more robust X-Git-Tag: v2.6.23-rc1~1083^2~133 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8054854221d9d51e381c64d365404f4c1c30f50;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed