Date: Sat, 29 Aug 2009 15:42:06 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/usb usb_process.c Message-ID: <200908291542.n7TFgSmf021168@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
thompsa 2009-08-29 15:42:06 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/dev/usb usb_process.c
Log:
SVN rev 196642 on 2009-08-29 15:42:06Z by thompsa
MFC r196547
It is possible for all the kthreads to exit (hci modules unloaded) which in
turn ends our usb process. This means the proc pointer becomes invalid and will
panic if a new kthread is added. Count the number of threads and clear the proc
pointer on the last one.
Approved by: re (kib)
Revision Changes Path
1.9.2.3 +9 -0 src/sys/dev/usb/usb_process.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908291542.n7TFgSmf021168>
