]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r260808 and r260814:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 24 Jan 2014 08:06:14 +0000 (08:06 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 24 Jan 2014 08:06:14 +0000 (08:06 +0000)
commite2ec6cba8b3c0183617b098550fe75f2bad5c96e
tree752ac77c65a5db17c746de1f42e8831161e85290
parentb8672f7a9faf7463c49847a1fce6c72c60351c39
MFC r260808 and r260814:
- Close a minor deadlock.
- Fix a possible memory use after free and leak situation associated
with USB device detach when using character device handles. This also
includes LibUSB. It turns out that "usb_close()" cannot always get a
reference to clean up its USB transfers and such, if called during the
kernel USB device detach.

git-svn-id: svn://svn.freebsd.org/base/stable/8@261108 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/usb/usb_dev.c
sys/dev/usb/usb_device.c