lockmgr_kernproc() wasn't checking whether the lockholder as already
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 7 May 2006 00:51:11 +0000 (00:51 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 7 May 2006 00:51:11 +0000 (00:51 +0000)
commitccc65d15981eda4771db87b306a09131dd4a4a4a
treec720914ad6861b8ebc4897082f187240f7e79e9b
parent797e4fe9db5073f094b467a984a94a3086899e65
lockmgr_kernproc() wasn't checking whether the lockholder as already
LK_KERNTHREAD, resulting in a panic in certain situations.

Reported-by: Stefan Krueger <skrueger@meinberlikomm.de>
sys/kern/kern_lock.c