Re: OHCI: NULL or LIST_POISON dereference on ueagle-atm disconnection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 5 Jun 2016, Michał Pecio wrote:

> OK, so I added those printks and I think I know what's going on.
> 
> Apparently, ed_schedule failure triggers 'goto fail' and leaves the ed
> in some non-IDLE state so that it never gets added to the list indeed.
> 
> The failing EP 0x88 is 1kB isochronous, btw, so it all looks plausible.

Yes, you spotted it.  The problem is indeed in ed_schedule().

Try moving the first executable line:

	ed->state = ED_OPER;

to the end of the routine, just before the "return 0;".  That should 
fix the problem.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux