NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-pmax/55610 (pmax testbed panics with "address error")

The following reply was made to PR port-pmax/55610; it has been noted by GNATS.

From: Nick Hudson <>
 Andreas Gustafsson <>
Subject: Re: port-pmax/55610 (pmax testbed panics with "address error")
Date: Sat, 12 Dec 2020 21:08:34 +0000

 Likely caused by corruption fixed by
 Module Name:=C2=A0=C2=A0=C2=A0 src
 Committed By:=C2=A0=C2=A0=C2=A0 uwe
 Date:=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 Sat Dec 12 18:35:59 UTC 2020
 Modified Files:
  =C2=A0=C2=A0=C2=A0 src/sys/kern: vfs_cache.c
 Log Message:
 vfs_cache - do not write outside allocated memory.
 In cache_cpu_init allocate struct nchcpu, not struct nchstats_percpu.
 cache_update_stats expects the former (that contains two percpu
 structs).=C2=A0 Stat updates where smashing whatever was in the next pool
 Reported by martin@ as crashes in ptyfs on Krups.
 To generate a diff of this commit:
 cvs rdiff -u -r1.147 -r1.148 src/sys/kern/vfs_cache.c

Home | Main Index | Thread Index | Old Index