Date: Tue, 25 Aug 2009 16:59:55 +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: <200908251700.n7PH0IYM088101@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
thompsa 2009-08-25 16:59:55 UTC FreeBSD src repository Modified files: sys/dev/usb usb_process.c Log: SVN rev 196547 on 2009-08-25 16:59:55Z by thompsa 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. Suggested by: julian MFC after: 3 days Revision Changes Path 1.12 +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?200908251700.n7PH0IYM088101>