From owner-freebsd-bugs Mon Feb 12 4:40: 4 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B478C37B491 for ; Mon, 12 Feb 2001 04:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1CCe2d70857; Mon, 12 Feb 2001 04:40:02 -0800 (PST) (envelope-from gnats) Date: Mon, 12 Feb 2001 04:40:02 -0800 (PST) Message-Id: <200102121240.f1CCe2d70857@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Stas Kisel Subject: Re: kern/24608: FreeBSD 4.2 Panics in Realtek rl driver Reply-To: Stas Kisel Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/24608; it has been noted by GNATS. From: Stas Kisel To: freebsd-gnats-submit@FreeBSD.org Cc: myleal@spliceip.com.br Subject: Re: kern/24608: FreeBSD 4.2 Panics in Realtek rl driver Date: Mon, 12 Feb 2001 14:31:56 +0200 Oops, sorry, in previous post I should say "kmem_malloc()" instead of "kern_malloc()". Once more: kern_malloc() (vm/vm_kern.c) is referenced from m_mballoc() (kern/uipc_mbuf.c) and probably returns wrong value. 1. kern_malloc() should work at splhigh. 2. kern_malloc() should be called only from malloc() (kern/kern_malloc.c) \bye Stas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message