--- - branch: MAIN date: Thu Mar 3 05:47:36 UTC 2022 files: - new: '1.51' old: '1.50' path: src/sys/dev/usb/usbnet.c pathrev: src/sys/dev/usb/usbnet.c@1.51 type: modified id: 20220303T054736Z.e00a38d24c48312f73273f466d6808b9221a73eb log: | usbnet: Assert IFNET_LOCKED in usbnet_init_rx_tx, usbnet_stop. Exception: urndis(4) abuses this API to start this logic before the ifp is actually initialized. So for the sake of urndis(4), until sense can be beaten into it, allow the !unp_ifp_attached case to run without IFNET_LOCK. module: src subject: 'CVS commit: src/sys/dev/usb' unixtime: '1646286456' user: riastradh