summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-10-11 14:02:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-21 09:21:23 +0100
commit8b36209e93df92903f2d37229abc9e730668a6a2 (patch)
tree68614f395297ddcef08af8a507d1bc0fde7589ef /Makefile
parent5cd938508c815b684f033c291d59158e2576adc1 (diff)
USB: serial: garmin_gps: fix I/O after failed probe and remove
commit 19a565d9af6e0d828bd0d521d3bafd5017f4ce52 upstream. 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") Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions