]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r198775
authorthompsa <thompsa@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 4 Nov 2009 01:50:25 +0000 (01:50 +0000)
committerthompsa <thompsa@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 4 Nov 2009 01:50:25 +0000 (01:50 +0000)
commit2f35fa3fff35276721ff5a285bb245ccf88e43e0
tree7d61e82b476edede8e39d6cb376bdd17fc531d35
parent24de53339b93f9d7a68c6425b80b4a6f05c30903
MFC r198775

 Fix a corner case where usbd_transfer_drain() can return too early if the
 callback has dropped the mutex, leading to a panic.

Submitted by: HPS

git-svn-id: svn://svn.freebsd.org/base/stable/8@198869 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/usb/usb_core.h
sys/dev/usb/usb_transfer.c