diff options
author | 2017-10-11 14:02:57 +0200 | |
---|---|---|
committer | 2017-10-11 15:24:22 +0200 | |
commit | 19a565d9af6e0d828bd0d521d3bafd5017f4ce52 (patch) | |
tree | dd9bce3ecc561202970fa69ecac359a83fb3c098 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | USB: serial: garmin_gps: convert timers to use timer_setup() (diff) | |
download | linux-dev-19a565d9af6e0d828bd0d521d3bafd5017f4ce52.tar.xz linux-dev-19a565d9af6e0d828bd0d521d3bafd5017f4ce52.zip |
USB: serial: garmin_gps: fix I/O after failed probe and remove
Make sure to stop any submitted interrupt and bulk-out URBs before
returning after failed probe and when the port is being unbound to avoid
later NULL-pointer dereferences in the completion callbacks.
Also fix up the related and broken I/O cancellation on failed open and
on close. (Note that port->write_urb was never submitted.)
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable <stable@vger.kernel.org> # 51a2f077 ("USB: introduce usb_anchor")
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions