PF_BLUETOOTH protocols: skip initialization of non-virtualized globals
authortrociny <trociny@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 10 Jun 2014 18:21:37 +0000 (18:21 +0000)
committertrociny <trociny@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 10 Jun 2014 18:21:37 +0000 (18:21 +0000)
commitdb788b588baa4acbc340d4dd5c095b61184257aa
tree98d8fbc1d1a4eae89b4e7b9e06abfff6f388ee8c
parentadc6e9bd34921810135bfeb517dc280cb8adb679
PF_BLUETOOTH protocols: skip initialization of non-virtualized globals
for non-default VNET instances.

This fixes panic on a vnet initialization when ng_btsocket is loaded.

MFC after: 1 week

git-svn-id: svn://svn.freebsd.org/base/head@267336 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c