[#]
http://marc.info/?l=openbsd-cvs&m=140750847316605&w=2
openbsd-cvs(obsdave,2) — All
2014-08-08 18:55:16
Module name: src
Changes by: mpi@cvs.openbsd.org 2014/08/08 08:34:12
Modified files:
sys/dev/usb : xhci.c
Log message:
Make sure asynchronous commands do not race with synchronous ones.
Since asynchronous commands can be submitted from interrupt context
it was possible to race with a process waiting for the completion of
a previously submitted command. So stop relying on the per-softc
TRB pointer for asynchronous commands and simply get the address of
the command TRB from the event TRB.