RELENG_7 crash
Robert Watson
rwatson at FreeBSD.org
Thu Apr 23 16:52:55 UTC 2009
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
More information about the freebsd-stable
mailing list