CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/10/14 05:04:10

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

Log message:
Handle multiple uncm(4) notifications per interrupt.

Diff from Mikolaj Kucharski, who wrote:

CDC 1.2 defines notifications as an 8-byte header carrying the length of
the data that follows.  I don't know how notifications map to transfers.
uncm_intr() assumes exactly one per transfer and silently ignores
anything after it.  This walks the buffer by wLength, with every read
bounds-checked against the received length.

ok Jan Schreiber (uncm author), and myself

Reply via email to