kernel - Add missing dsched_exit_thread() and friends
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 12 Nov 2011 06:53:58 +0000 (22:53 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 12 Nov 2011 06:53:58 +0000 (22:53 -0800)
commit18af8f55e0030722b15761e79680829d44124a18
tree763053e6c6ab1e407075a24d3e7199cc52f0765e
parentc17a6852f80ce59ea0641ae01d0b3c52f0584101
kernel - Add missing dsched_exit_thread() and friends

* In the lwp_create()/lwp_fork() failure path we have to clean up
  the dsched stuff before scrapping the LWP.

Reported-by: swildner
sys/kern/kern_fork.c