]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
PR: kern/168520
authorrodrigc <rodrigc@FreeBSD.org>
Fri, 12 Jul 2013 08:03:10 +0000 (08:03 +0000)
committerrodrigc <rodrigc@FreeBSD.org>
Fri, 12 Jul 2013 08:03:10 +0000 (08:03 +0000)
commitd492e75fbda4134aac43b1cef4237817df2c8979
treef029bf9929fb0d190237caae3ab49a03f5b33c20
parent72f878ef47e5cfe367c8b91bbf358cbfea03eb8c
PR: kern/168520
Submitted by: "YAMAMOTO, Shigeru" <shigeru@iij.ad.jp>
Reviewed by: adrian

In PC-BSD 9.1, VIMAGE is enabled in the kernel config.
For laptops with Bluetooth capability, such as the HP Elitebook 8460p,
the kernel will panic upon bootup, because curthread->td_vnet
is not initialized.

Properly initialize curthread->td_vnet when initializing the Bluetooth stack.

This allows laptops such as the HP Elitebook 8460p laptop
to properly boot with VIMAGE kernels.
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c