Files
Linux/include/linux/usb
Alan Stern a4720c650b USB: serial: don't call release without attach
This patch (as1295) fixes a recently-added bug in the USB serial core.
If certain kinds of errors occur during probing, the core may call a
serial driver's release method without previously calling the attach
method.  This causes some drivers (io_ti in particular) to perform an
invalid memory access.

The patch adds a new flag to keep track of whether or not attach has
been called.

Signed-off-by: Alan Stern <[email protected]>
Tested-by: Jean-Denis Girard <[email protected]>
CC: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2009-10-09 13:52:05 -07:00
..
…
…
…
…
…
…
2009-09-23 06:46:30 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…