]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Clear the device_t pointer in 'struct resource' when releasing a device
authorjhb <jhb@FreeBSD.org>
Mon, 6 Jun 2011 13:12:56 +0000 (13:12 +0000)
committerjhb <jhb@FreeBSD.org>
Mon, 6 Jun 2011 13:12:56 +0000 (13:12 +0000)
commitaa8ddae28045296cfac5aae264a723e7b0664db7
tree85a77dafa0374fd3c89d8bd92a72fdce0bb6591d
parent6e29aea1dbf128b84b885f9acc6396c69ab080ce
Clear the device_t pointer in 'struct resource' when releasing a device
as otherwise the sysctl to export rman info can dereference a stale
pointer.

PR: kern/115371
Submitted by: Arthur Hartwig
MFC after: 1 week
sys/kern/subr_rman.c