Module Name: src Committed By: mrg Date: Thu Aug 29 09:17:51 UTC 2019
Modified Files: src/sys/dev/usb: usbnet.c Log Message: fix a lock hang reported by sc.dying in PR#54495. remove locking in usbnet_tick(). assume that all locking needs are handled inside usbnet_tick_task(), which runs in the usbtask thread. ensure that usbnet private is valid before using it. also check NULL private pointer in usbnet_isdying(). all the other cases should never happen. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 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.