Files
linux/drivers
Michał Pecio 2053f7db7a USB: OHCI: Don't mark EDs as ED_OPER if scheduling fails
commit c66f59ee50 upstream.

Since ed_schedule begins with marking the ED as "operational",
the ED may be left in such state even if scheduling actually
fails.

This allows future submission attempts to smuggle this ED to the
hardware behind the scheduler's back and without linking it to
the ohci->eds_in_use list.

The former causes bandwidth saturation and data loss on isoc
endpoints, the latter crashes the kernel when attempt is made
to unlink such ED from this list.

Fix ed_schedule to update ED state only on successful return.

Signed-off-by: Michal Pecio <michal.pecio@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-08-10 11:49:24 +02:00
..
2016-05-04 14:48:54 -07:00
2016-05-11 11:21:13 +02:00
2016-07-27 09:47:33 -07:00
2015-11-08 16:24:43 -05:00
2016-07-27 09:47:39 -07:00
2016-03-09 15:34:50 -08:00