--- - branch: MAIN date: Tue Dec 3 05:01:45 UTC 2019 files: - new: '1.31' old: '1.30' path: src/sys/dev/usb/usbnet.c pathrev: src/sys/dev/usb/usbnet.c@1.31 type: modified id: 20191203T050145Z.7d8f93969a87cb470f5efb16ec0cba918442c3a5 log: | Fix order of nulling un->un_pri->unp_ec.ec_mii. Can't null it until after if_detach prevents further use. While here, fix conditionals in usbnet_tick_task to use the unp_dying flag, not the nullness of mii (or of ifp, which never null because it's an embedded member). module: src subject: 'CVS commit: src/sys/dev/usb' unixtime: '1575349305' user: riastradh