OSDN Git Service

[PATCH] USB: Little Rework for usbserial
authorPete Zaitcev <zaitcev@redhat.com>
Fri, 4 Aug 2006 23:53:05 +0000 (16:53 -0700)
committerWilly Tarreau <w@1wt.eu>
Sat, 5 Aug 2006 11:29:30 +0000 (13:29 +0200)
commit1936f9f5744a4df3021f6bec409f8a404a4fc735
tree5f70effb8c3e406316d500d91c99507f63ba43ce
parentc22152d91a71b9e47a034ee139ad2ca5f135d6c3
[PATCH] USB: Little Rework for usbserial

This patch fixes various hangs and oopses which happen if serial devices
are handled roughly (e.g. disconnected while open), open-close-open
races and hangs, and issues with getty running on ttyUSBx.

Finally, I got rid of the "#ifdef I_AM_A_DARING_HACKER". Originally,
I thought it would be there for a week or two, and it was stuck in the
code for two years.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
drivers/usb/serial/usb-serial.h
drivers/usb/serial/usbserial.c