Searched hist:253346 (Results 1 - 3 of 3) sorted by last modified time

/freebsd-11-stable/sys/netgraph/
H A Dng_base.cdiff 253346 Sun Jul 14 23:39:08 MDT 2013 rodrigc PR: 168520 170096
Submitted by: adrian, zec

Fix multiple kernel panics when VIMAGE is enabled in the kernel.
These fixes are based on patches submitted by Adrian Chadd and Marko Zec.

(1) Set curthread->td_vnet to vnet0 in device_probe_and_attach() just before calling
device_attach(). This fixes multiple VIMAGE related kernel panics
when trying to attach Bluetooth or USB Ethernet devices because
curthread->td_vnet is NULL.

(2) Set curthread->td_vnet in if_detach(). This fixes kernel panics when detaching networking
interfaces, especially USB Ethernet devices.

(3) Use VNET_DOMAIN_SET() in ng_btsocket.c

(4) In ng_unref_node() set curthread->td_vnet. This fixes kernel panics
when detaching Netgraph nodes.
/freebsd-11-stable/sys/netgraph/bluetooth/drivers/ubt/
H A Dng_ubt.cdiff 253347 Sun Jul 14 23:51:38 MDT 2013 rodrigc PR: kern/168520

Revert GRN 253255. It is not needed now that GRN 253346 is committed.
/freebsd-11-stable/sys/kern/
H A Dsubr_bus.cdiff 253346 Sun Jul 14 23:39:08 MDT 2013 rodrigc PR: 168520 170096
Submitted by: adrian, zec

Fix multiple kernel panics when VIMAGE is enabled in the kernel.
These fixes are based on patches submitted by Adrian Chadd and Marko Zec.

(1) Set curthread->td_vnet to vnet0 in device_probe_and_attach() just before calling
device_attach(). This fixes multiple VIMAGE related kernel panics
when trying to attach Bluetooth or USB Ethernet devices because
curthread->td_vnet is NULL.

(2) Set curthread->td_vnet in if_detach(). This fixes kernel panics when detaching networking
interfaces, especially USB Ethernet devices.

(3) Use VNET_DOMAIN_SET() in ng_btsocket.c

(4) In ng_unref_node() set curthread->td_vnet. This fixes kernel panics
when detaching Netgraph nodes.

Completed in 265 milliseconds