Module Name: src Committed By: riastradh Date: Thu Mar 3 05:50:47 UTC 2022
Modified Files: src/sys/dev/usb: usbnet.c Log Message: usbnet: Omit needless locking around usbnet_isdying. Now that is tested and set with atomic_load/store, there is no need to hold the lock -- which means we can set it while the core lock is held during, e.g., a reset sequence, and use that to interrupt the sequence so it doesn't get stuck waiting to time out when the device is physically removed. To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/sys/dev/usb/usbnet.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.