kernel - Add sysref assertions
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 13 Aug 2010 04:48:45 +0000 (21:48 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 13 Aug 2010 04:48:45 +0000 (21:48 -0700)
commit7f998e63df7d6579220d4244da685d3d9cd176d8
tree564a15d39f17b46be1f618ba4cac2e5a61a3cfbf
parent18b4c2bbe82bef16aa24e9194dca1e2b55cfd3fa
kernel - Add sysref assertions

* Add more checks in the sysref code to detect use-after-free situations.
sys/sys/sysref2.h