Fix generation of USB_EVENT_DEVICE_DETACH, which was commented out in
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 19 Mar 2004 00:30:32 +0000 (00:30 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 19 Mar 2004 00:30:32 +0000 (00:30 +0000)
commit837e3715a92073299038eb5126a9767502bac9a4
tree4cb71e83c5e8b54c6c7286bf11a4130208651eb9
parentf25acbb06d096f1e12f225793229affadece8ab6
Fix generation of USB_EVENT_DEVICE_DETACH, which was commented out in
FreeBSD.  Incorporate NetBSD rev 1.110 which fixes an access to freed
memory which was previously causing the detach event to crash the system.

Reported-By: Andreas Fuchs <asf@boinkor.net>
sys/bus/usb/usb_subr.c