commit | ff8a43c10f1440f07a5faca0c1556921259f7f76 | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Tue Aug 13 13:27:35 2013 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Aug 14 12:49:27 2013 -0700 |
tree | 80402017bf94acfa9418892f64483e5c9bf0590a | |
parent | ef6c8c1d733e244f0499035be0dabe1f4ed98c6f [diff] |
USB: keyspan: fix null-deref at disconnect and release Make sure to fail properly if the device is not accepted during attach in order to avoid null-pointer derefs (of missing interface private data) at disconnect or release. Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>