|
From: Daniel D. <da...@re...> - 2010-07-24 20:01:36
|
El 24/07/10 11:35, Peter Stuge escribió: > Hi, > > Daniel Drake wrote: >>> This patch instead changes the code path directly after >>> submission, and if errno == EREMOTEIO then the reap code is >>> instructed that all is well via reap_action = COMPLETED_EARLY. > .. >>> While my guess is that the former patch would work for Ludovic this >>> one is much more correct. Please test it! >> >> This patch would probably work OK but it isn't quite correct. If the 3rd >> URB fails with EREMOTEIO, the code immediately below your patch will try >> and cancel URBs 1 and 2. That's probably harmless, but it would be >> logical and simple to avoid that. > > Thanks for spotting that! I've updated the patch and described what > is going on in the comments too. excellent, applied thanks! |