Files
linux-legacy-genesi/include/linux
Alan Stern dd02f3999f USB: serial: don't call release without attach
commit a4720c650b68a5fe7faed2edeb0ad12645f7ae63 upstream.

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 <stern@rowland.harvard.edu>
Tested-by: Jean-Denis Girard <jd.girard@sysnux.pf>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-10-22 15:11:49 -07:00
..
…
…
…
…
2009-06-17 19:41:52 +02:00
…
…
2009-06-18 08:46:47 +10:00
…
2009-06-30 18:56:00 -07:00
…
2009-07-12 12:22:34 -07:00
…
…
…
…
2009-06-17 00:36:36 -04:00
…
…
…
2009-06-30 18:55:58 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-07-29 19:10:35 -07:00
…
…
…
…
…
…
…
2009-06-22 10:12:35 +01:00
…
…
…
…
…
2009-07-12 12:22:34 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-07-12 13:02:10 -07:00
…
…
…
…
…
…
2009-06-22 10:12:30 +01:00
…
…
…
…
…
…
…
…
…
…
2009-06-17 09:33:49 -07:00
…
…
…
…
2009-07-08 09:18:05 -07:00
…
…
…
…
…
2009-06-24 08:17:04 -04:00
…
…
2009-06-30 18:56:00 -07:00
…
…
…
…
…
…
…
…
…
…
2009-08-24 14:58:23 +10:00
…
2009-06-30 20:12:24 +02:00
…
2009-06-18 13:04:05 -07:00
…
…
…
2009-07-12 12:22:34 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-06-29 08:59:10 +10:00
…
…
…
2009-06-18 13:03:57 -07:00
…
…
…
…
…
2009-07-31 08:55:48 +02:00
…
…
…
…
…
…
…
2009-06-18 13:03:56 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-06-22 10:12:35 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-06-23 20:21:39 +01:00
2009-07-30 16:03:45 +09:30
2009-07-28 21:07:09 -04:00
…
…
…
2009-06-16 19:47:57 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-07-08 09:31:56 -07:00
2009-06-18 13:03:57 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-06-17 18:02:11 -07:00
2009-06-17 18:02:11 -07:00
2009-06-17 12:24:34 -07:00
2009-08-12 08:21:39 -07:00
2009-06-17 12:24:34 -07:00
2009-06-17 18:02:11 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-06-29 12:14:51 -07:00
2009-06-30 18:55:59 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-06-18 13:04:04 -07:00
2009-07-29 19:10:36 -07:00
…
…
…
…
…
…
…
2009-07-12 12:22:34 -07:00
…
…
…
…
…
…
…
…
…
2009-06-24 08:17:06 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-08-18 16:31:13 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2009-06-24 08:17:06 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-06-23 12:50:05 -07:00
…
…
…
…
…
…
2009-07-06 13:57:03 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-10-05 09:32:34 -07:00
…
…
…
…
…
2009-07-12 15:16:39 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…