Module Name: src Committed By: maxv Date: Sat Sep 14 12:48:51 UTC 2019
Modified Files: src/sys/dev/usb: ugensa.c Log Message: Fix error handling, to prevent kernel crashes when detaching an ugensa0 device. Also move usbd_add_drv_event() down, after we are sure the attach didn't fail. Found with vHCI. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/dev/usb/ugensa.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.