Add a PHOLD/PRELE sequence around a sysctl_out to fix a race against
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 2 Nov 2007 18:47:34 +0000 (18:47 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 2 Nov 2007 18:47:34 +0000 (18:47 +0000)
commite7093b077b1733ed519d295aa0d77709bf5edf81
treeb4c70f41a6bdca6c1007ab29d3b5bc050d07d103
parent9caa622c809c3c85f053fcfad5daba61050afc36
Add a PHOLD/PRELE sequence around a sysctl_out to fix a race against
the reaper.

Submitted-by: "Nicolas Thery" <nthery@gmail.com>
sys/kern/kern_proc.c