[PATCH] USB: fix usb-serial leaks, oopses on disconnect
authorPete Zaitcev <zaitcev@redhat.com>
Wed, 21 Jun 2006 22:00:45 +0000 (15:00 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 Jul 2006 23:03:21 +0000 (16:03 -0700)
commit34f8e761724ecbfe46246f3faa4c7dbfc3555c26
tree46e6c7e63b34ed2990c7263aa3d980d814a98f47
parent92164c5dd1ade33f4e90b72e407910de6694de49
[PATCH] USB: fix usb-serial leaks, oopses on disconnect

This fix addresses two issues:
- Unattached port structures were not freed
- My initial fix for crash when eventd runs a work in a freed port
  did not go far enough

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/usb-serial.c