[PATCH 00/11] hso: fix some problems with reset/disconnect path

From: Olivier Sobrie
Date: Tue Jan 20 2015 - 07:35:38 EST


These patches attempt to fix some problems I observed when the hso
device is disconnected or when a usb reset is queued by the hso driver
Several patches of this serie are fixing crashes or memleaks in hso.
The last patch of this serie fix a race condition occurring when multiple
usb resets are queued on an usb interface.
This serie of patches is based on v3.18.

Olivier Sobrie (11):
hso: remove useless header file timer.h
hso: fix crash when device disappears while serial port is open
hso: fix memory leak when device disconnects
hso: fix memory leak in hso_create_rfkill()
hso: fix small indentation error
hso: rename hso_dev into serial in hso_free_interface()
hso: replace reset_device work by usb_queue_reset_device()
hso: move tty_unregister outside hso_serial_common_free()
hso: update serial_table in usb disconnect method
hso: add missing cancel_work_sync in disconnect()
usb: core: fix a race with usb_queue_reset_device()

drivers/net/usb/hso.c | 88 ++++++++++++++++++++--------------------------
drivers/usb/core/driver.c | 4 ++-
drivers/usb/core/hub.c | 4 +--
drivers/usb/core/message.c | 4 +--
include/linux/usb.h | 2 +-
5 files changed, 46 insertions(+), 56 deletions(-)

--
2.2.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/