Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 2009 17:52:54 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Mike Tancsa <mike@sentex.net>
Cc:        freebsd-stable@freebsd.org, Mikolaj Golub <to.my.trociny@gmail.com>
Subject:   Re: RELENG_7 crash
Message-ID:  <alpine.BSF.2.00.0904231752050.54334@fledge.watson.org>
In-Reply-To: <200904212057.n3LKv4i4092456@lava.sentex.ca>
References:  <200904210524.n3L5O9YS086865@lava.sentex.ca> <86vdox685s.fsf@kopusha.onet> <200904212057.n3LKv4i4092456@lava.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 21 Apr 2009, Mike Tancsa wrote:

> At 04:53 PM 4/21/2009, Mikolaj Golub wrote:
>
>> Just FYI, the same problem has already been registered in pr database as 
>> kern/132734.
>
> Thanks,
>        http://www.freebsd.org/cgi/query-pr.cgi?pr=132734 does look familiar 
> :)  If you disable the snmpwalk, is the box stable ?

It would be interesting to know if this tweak at least eliminates the instant 
panic:

Index: if_mib.c
===================================================================
--- if_mib.c	(revision 191424)
+++ if_mib.c	(working copy)
@@ -82,11 +82,9 @@
  		return EINVAL;

  	if (name[0] <= 0 || name[0] > if_index ||
-	    ifnet_byindex(name[0]) == NULL)
+	    (ifp = ifnet_byindex(name[0])) == NULL)
  		return ENOENT;

-	ifp = ifnet_byindex(name[0]);
-
  	switch(name[1]) {
  	default:
  		return ENOENT;

Robert N M Watson
Computer Laboratory
University of Cambridge



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0904231752050.54334>