--- - branch: MAIN date: Thu Mar 3 05:46:50 UTC 2022 files: - new: '1.45' old: '1.44' path: src/sys/dev/usb/usbnet.c pathrev: src/sys/dev/usb/usbnet.c@1.45 type: modified id: 20220303T054650Z.60235ec474a8074bce13138c942d5cfe8e3af982 log: | usbnet: Simplify usbnet_isdying. usbnet_detach (or its caller) stops all users before it returns. If un->un_pri is null at this point, there's a bug -- something didn't wait for everything to finish before calling usbnet_detach. module: src subject: 'CVS commit: src/sys/dev/usb' unixtime: '1646286410' user: riastradh