--- - branch: MAIN date: Thu Mar 3 06:09:57 UTC 2022 files: - new: '1.230' old: '1.229' path: src/sys/dev/usb/usbdi.c pathrev: src/sys/dev/usb/usbdi.c@1.230 type: modified id: 20220303T060957Z.77dbeb12d0f314ebbc6a31718e532dccee9af8dd log: | usb: In usbd_transfer, test whether aborting under the lock. Otherwise this test is racy and can cause the bad state of a pipe with a transfer that will never be completed in a pipe that's about to close under the expectation that the pipe is empty. module: src subject: 'CVS commit: src/sys/dev/usb' unixtime: '1646287797' user: riastradh