Date: Sun, 4 Aug 2002 19:28:47 -0700 (PDT) From: Shizuka Kudo <shizukakudo_99@yahoo.com> To: Shizuka Kudo <shizukakudo_99@yahoo.com>, freebsd-current@freebsd.org Subject: Re: current panic on apache2 after sys/kern/subr_mbuf.c commit Message-ID: <20020805022847.14698.qmail@web11407.mail.yahoo.com> In-Reply-To: <20020804174428.16847.qmail@web11404.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Shizuka Kudo <shizukakudo_99@yahoo.com> wrote:
> Dear all,
>
> I have been experiencing panic with Apache2 since Jul 31. The system boot, but panic when
> someone
> access the apache2 service. After trace back, the subr_mbuf.c commit at around Jul 30 21:30 GMT
> is
> the candidate for this panic. Does anyone see the same problem as me?
>
I think I find the problem which is the missing of assignment on one of the malloc call. Here's
the patch that seems to fix the problem.
--- usr/src/sys/kern/subr_mbuf.c Thu Aug 1 22:24:41 2002
+++ /usr/src/sys/kern/subr_mbuf.c Mon Aug 5 10:20:14 2002
@@ -1051,7 +1051,7 @@
#define _mext_init_ref(m, ref) do { \
if ((ref) == NULL) \
- malloc(sizeof(u_int), M_MBUF, M_NOWAIT); \
+ (m)->m_ext.ref_cnt = malloc(sizeof(u_int), M_MBUF, M_NOWAIT); \
else \
(m)->m_ext.ref_cnt = (u_int *)(ref); \
if ((m)->m_ext.ref_cnt != NULL) { \
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020805022847.14698.qmail>
