]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r286799:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 29 Aug 2015 06:17:39 +0000 (06:17 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 29 Aug 2015 06:17:39 +0000 (06:17 +0000)
commitd00122828d3ddf0a28cf0ec6ea7e5f6e47fd81e5
treece5f43cb148b601700244caf8d8ce1af67bb8098
parent6034eaff19c36836f042462836200f93abd9d802
MFC r286799:
Fix race in USB PF which can happen if we stop tracing exactly when
the kernel is tapping an USB transfer. This leads to a NULL pointer
access. The solution is to only trace while the USB bus lock is
locked.

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