CVSROOT:        /cvs
Module name:    src
Changes by:     jmatt...@cvs.openbsd.org        2018/03/05 04:32:05

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

Log message:
Move completed transfer descriptors to the freelist before calling
usb_transfer_complete, so that if we need to allocate a new one (as in the
case of interrupt endpoints) we will always be able to do so without
allocating a new chunk.  Mapping a new chunk involves allocating from the
kernel map, which is not safe to do from interrupt context.

fixes a panic reported by semarie
ok visa@ krw@ (before a last minute tweak)

Reply via email to