[#] http://marc.info/?l=openbsd-cvs&m=140727039630073&w=2
openbsd-cvs(obsdave,2) — All
2014-08-06 00:55:07


Module name: src
Changes by: mpi@cvs.openbsd.org 2014/08/05 14:26:15

Modified files:
sys/dev/usb : ehci.c ohci.c uhci.c

Log message:
Only check if the abort transfer is the interrupt one if the pipe is
opened with a callback.

If a driver opens an interrupt pipe without callback function, like
umct(4) does with one of its bulk in endpoints being reported as an
interrupt endpoint, then we can end up aborting a transfer which is
different from the interrupt one.

Issue reported by Roberto E. Vargas Caballero, ok deraadt@