Re: Fail early in USB

2018-04-28 Thread Paul Irofti
On Sat, Apr 28, 2018 at 10:33:55AM +0200, Martin Pieuchot wrote: > If USB transfers aren't completed in order, the stack cannot recover. > > So don't try to continue when this happen and make it clear what the > problem is. Currently the kernel panic in many different ways or > worse enters an in

Fail early in USB

2018-04-28 Thread Martin Pieuchot
If USB transfers aren't completed in order, the stack cannot recover. So don't try to continue when this happen and make it clear what the problem is. Currently the kernel panic in many different ways or worse enters an infinite loop sometimes after that happened. ok? Index: usbdi.c ===